CN103646054A - Method for playing multimedia data and browser device - Google Patents

Method for playing multimedia data and browser device Download PDF

Info

Publication number
CN103646054A
CN103646054A CN201310628509.6A CN201310628509A CN103646054A CN 103646054 A CN103646054 A CN 103646054A CN 201310628509 A CN201310628509 A CN 201310628509A CN 103646054 A CN103646054 A CN 103646054A
Authority
CN
China
Prior art keywords
multimedia
data
multimedia data
unit
webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310628509.6A
Other languages
Chinese (zh)
Other versions
CN103646054B (en
Inventor
邹涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310628509.6A priority Critical patent/CN103646054B/en
Publication of CN103646054A publication Critical patent/CN103646054A/en
Application granted granted Critical
Publication of CN103646054B publication Critical patent/CN103646054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Abstract

The invention discloses a method for playing multimedia data and a browser device. The method comprises the steps of obtaining collected multimedia playing data from favorites of the browser, and obtaining the multimedia playing data by the capturing out of a web page comprising a multimedia; analyzing data types of the multimedia playing data, and determining a player plug-in of the multimedia according to the data types; and utilizing the determined player plug-in to load the obtained multimedia playing data on the browser side to play the multimedia playing data. Accordingly, multimedia files in the web page can be played without depending on an original web page, and the problem that the multimedia cannot be played due to web page failure is solved.

Description

The method of play multimedia data and browser device
Technical field
The present invention relates to computer technology, be specifically related to a kind of method of play multimedia data, and a kind of browser device.
Background technology
User can use browser to browse in network, if comprise oneself more interested content in webpage, can preserve the network address of this webpage, is about to described network address and is kept in collection.
If user is interested in the multimedia resource in webpage, as audio frequency, video etc., can collect the network address of this webpage so that this multimedia resource is collected, user can replay the multimedia in webpage by the network address of collection.
But webpage lost efficacy sometimes, after network address manages webpage sometimes, the corresponding website of the network address of collection cannot be opened, and therefore collects webpage and cannot guarantee play multimedia resource at any time.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide a kind of browser device that overcomes the problems referred to above or address the above problem at least in part and the method for corresponding play multimedia data.
According to one aspect of the present invention, a kind of method of play multimedia data is provided, comprise: from the collection of browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage; Analyze the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type; In the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use, play.
In optional embodiment of the present invention, analyze the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type, comprise: when described multimedia data are chained address, the data type of described multimedia data is address class, determines that described multimedia player plug-in unit is flash player plug-in unit or non-flash player plug-in unit; When described multimedia data are multimedia file, the data type of described multimedia data is files classes, determines that described multimedia player plug-in unit is non-flash player plug-in unit; When if described multimedia data are web page code, the data type of described multimedia data is code word, determines that described multimedia player plug-in unit is flash player plug-in unit.
In optional embodiment of the present invention, the described multimedia data of using described definite player plug-in unit to obtain described in loading in browser side are play, and comprising: described multimedia data are associated with the player plug-in unit in described browser; When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
In optional embodiment of the present invention, also comprise the step that captures multimedia data in webpage: webpage is carried out described in Analysis deterrmination to webpage label corresponding to multimedia in webpage; According to described webpage label, obtain the multimedia data in described webpage, wherein, described multimedia data comprise: web page code, source address or multimedia file.
In optional embodiment of the present invention, if described multimedia data are multimedia file, according to described webpage label, obtain the multimedia data in described webpage, comprise: the player plug-in unit loading when described webpage label comprises restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, play described multimedia and capture described multimedia media data flow; Adopt described media data flow to generate multimedia file, and using described multimedia file as multimedia data.
In optional embodiment of the present invention, also comprise: described in obtaining, comprise the web page address of described multimedia webpage, and set up corresponding relation with described multimedia data; Described web page address correspondence is kept in described collection.
In optional embodiment of the present invention, described collection comprises Cloud Server end collection and local collection, and described multimedia data are kept in described Cloud Server end collection and/or local collection.
In optional embodiment of the present invention, also comprise: by the startup event of the data of multimedia described in collection and the process context of described player; Receive the indication information that starts described multimedia data, and according to described indication information, trigger the startup event of described multimedia data; According to described startup event, call the process of associated described player, and described multimedia data are play.
In optional embodiment of the present invention, also comprise: create a webpage and embedded player plug-in unit in described webpage; By the broadcast information of described embedded player plug-in unit and described multimedia data correlation, and generate the web page address of described webpage.
In optional embodiment of the present invention, after generating the web page address of described webpage, also comprise: by the multimedia data replacement of collecting in described collection, be described web page address.The described multimedia data of using described definite player plug-in unit to obtain described in loading in browser side are play, comprise: after receiving indication information, adopt browser to open the webpage that described web page address is corresponding, and adopt player plug-in unit embedded in webpage to play described multimedia data.
In optional embodiment of the present invention, also comprise: when playing described multimedia data, to multimedia data cached download described in described player plug-in unit.
In optional embodiment of the present invention, also comprise: obtain collection in the descriptor of described multimedia data; According to described descriptor, obtain described multimedia recommendation broadcast information, and in described collection, show described recommendation broadcast information.
According to another aspect of the present invention, a kind of browser device is also provided, comprise: acquisition module, for the collection from browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage; Analyze and determination module, for analyzing the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type; Playing module, for playing in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
In optional embodiment of the present invention, described analysis determination module, for when described multimedia data are chained address, the data type of described multimedia data is address class, determines that described multimedia player plug-in unit is flash player plug-in unit or non-flash player plug-in unit; When described multimedia data are multimedia file, the data type of described multimedia data is files classes, determines that described multimedia player plug-in unit is non-flash player plug-in unit; When if described multimedia data are web page code, the data type of described multimedia data is code word, determines that described multimedia player plug-in unit is flash player plug-in unit.
In optional embodiment of the present invention, described playing module, for associated with the player plug-in unit of described browser by described multimedia data; When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
In optional embodiment of the present invention, also comprise: handling module, for capturing the multimedia played data of webpage; Specifically for webpage being carried out to described in Analysis deterrmination webpage label corresponding to multimedia in webpage; According to described webpage label, obtain played data corresponding to multimedia in described webpage, wherein, described multimedia data comprise: web page code, source address or multimedia file.
In optional embodiment of the present invention, if described played data is multimedia file, described handling module, for the player plug-in unit loading when described webpage label, comprise restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, play described multimedia and capture described multimedia media data flow; Adopt described media data flow to generate multimedia file, and using described multimedia file as played data.
In optional embodiment of the present invention, also comprise: preserve module, for the web page address that comprises described multimedia webpage described in obtaining, and set up corresponding relation with described multimedia data; Described web page address correspondence is kept in described collection.
In optional embodiment of the present invention, described collection comprises Cloud Server end collection and local collection, and described multimedia data are kept in described Cloud Server end collection and/or local collection.
In optional embodiment of the present invention, also comprise: associated calling module, for by the startup event of the data of multimedia described in collection and the process context of described player; Receive the indication information that starts described multimedia data, and according to described indication information, trigger the startup event of described multimedia data; According to described startup event, call the process of associated described player, and described multimedia data are play.
In optional embodiment of the present invention, also comprise: creation module, for creating a webpage and in described webpage embedded player; By the broadcast information of described embedded player and described multimedia data correlation, and generate the web page address of described webpage.
In optional embodiment of the present invention, also comprise: replacement module, replaces with described web page address for the multimedia played data that described collection is collected; Described playing module, for after receiving indication information, adopts browser to open the webpage that described web page address is corresponding, and adopts player embedded in webpage to play described played data.
In optional embodiment of the present invention, also comprise: buffer memory download module, for when playing described multimedia data, to multimedia data cached download described in described player plug-in unit.
In optional embodiment of the present invention, also comprise: recommending module, for obtaining collection in the descriptor of described multimedia data; According to described descriptor, obtain described multimedia recommendation broadcast information, and in described collection, show described recommendation broadcast information.
According to the method for play multimedia data of the present invention, can from the collection of browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage, and then determine described multimedia player plug-in unit by analyzing the data type of described multimedia data, then in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use, play.Thereby needn't only rely on original webpage just can play the multimedia file in this webpage, avoid the problem that cannot play due to the multimedia that webpage inefficacy causes.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
The method flow diagram of the play multimedia data providing according to the embodiment of the present invention one is provided Fig. 1;
The method flow diagram of the play multimedia data providing according to the embodiment of the present invention two is provided Fig. 2;
The browser device structural drawing providing according to the embodiment of the present invention three is provided Fig. 3 A;
The optional structural drawing of the browser device providing according to the embodiment of the present invention four is provided Fig. 3 B;
The optional structural drawing of the browser device providing according to the embodiment of the present invention five is provided Fig. 3 C;
The optional structural drawing of the browser device providing according to the embodiment of the present invention six is provided Fig. 3 D.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
The embodiment of the present invention provides a kind of method of play multimedia data, can from the collection of browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage, and then determine described multimedia player plug-in unit by analyzing the data type of described multimedia data, then in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use, play.Thereby needn't only rely on original webpage just can play the multimedia file in this webpage, avoid the problem that cannot play due to the multimedia that webpage inefficacy causes.
Embodiment mono-
With reference to Fig. 1, show the method flow diagram of the play multimedia data providing according to the embodiment of the present invention one.
Step 101 is obtained collected multimedia data from the collection of browser.
Wherein, described multimedia data for to capture and to obtain from comprise described multimedia webpage.
User can adopt browser to open webpage, thereby by multimedia resources such as webpage audio plays, videos, if user is interested for the multimedia in this webpage, thereby can collect follow-up can also broadcasting this multimedia to this multimedia related data.
The embodiment of the present invention can capture these multimedia data in advance from this webpage, be kept in the collection of browser, described multimedia data refer to the data relevant to this multimedia, as multimedia file, or the information such as the memory address of multimedia file, by these multimedia data, can obtain corresponding multimedia file, these multimedia data itself also may consist of media file the more certainly.Thereby when user's play multimedia file, can from the collection of browser, obtain this multimedia data.
Step 102, analyzes the data type of described multimedia data, and determines described multimedia player plug-in unit according to described data type.
Then to multimedia data analysis, because multimedia data may exist multiple different type, determine the data type of these media play data, and then determine described multimedia player plug-in unit according to data type.As these multimedia data are memory addresss and are voice data, can determine and use audio player plug-in unit, and for example these multimedia data are one section of web page codes, play this web page code and will select flash player plug-in unit.
Step 103, plays in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
Then in browser, start corresponding player plug-in unit, adopt this player plug-in unit loading multimedia played data, in browser, play this multimedia, according to these multimedia data, can determine multimedia file, thereby by player plug-in unit, multimedia file be play
In sum, from the collection of browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage, and then determine described multimedia player plug-in unit by analyzing the data type of described multimedia data, then in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use, play.Thereby needn't only rely on original webpage just can play the multimedia file in this webpage, avoid the problem that cannot play due to the multimedia that webpage inefficacy causes.
Embodiment bis-
On the basis of above-described embodiment, the present embodiment is further discussed the method for play multimedia data.
With reference to Fig. 2, show the method flow diagram of the play multimedia data providing according to the embodiment of the present invention two.
Step 201, carries out described in Analysis deterrmination webpage label corresponding to multimedia in webpage to webpage.
Step 202, obtains the multimedia data in described webpage according to described webpage label.
When play multimedia is as sound, video data in webpage, normally by player plug-in unit, (plays, can in webpage label, load player plug-in unit, then adopt this player to play multimedia file.The difference of player types wherein, it loads and also difference of the method for play multimedia, and the method for obtaining multimedia data from dissimilar player also has difference.
Therefore, when webpage is detected, can detect webpage label, different web page element corresponding to webpage label, for example, when webpage label corresponds to embed element, the URL of its src attribute can indicate that the classification of multi-medium data is video; When webpage label corresponds to bgsound element, the URL of its src attribute can indicate that the classification of multi-medium data is audio frequency.Wherein the classification of several frequently seen multimedia element be can pre-determine, for example, video data, the large class of voice data two divided.Thereby can determine the multi-medium data loading in webpage by webpage label, wherein, described multimedia data comprise: web page code, source address or multimedia file.
In optional embodiment of the present invention, if described multimedia data are multimedia file, according to described webpage label, obtain the multimedia data in described webpage, comprise: the player plug-in unit loading when described webpage label comprises restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, play described multimedia and capture described multimedia media data flow; Adopt described media data flow to generate multimedia file, and using described multimedia file as multimedia data.
Conventionally number of site is in order to preserve the resource of our station, meeting configurable limit information in its flash player, so-called restricted information obtains for limiting the multimedia that described player loads, thereby in the flash of web page code player, hidden the address information of this multimedia file, as web page code is encrypted, making the address identifying in its web page code is not the actual stored address of this multimedia file.
Thereby for the web page code that has added restricted information, can resolve this web page code, if carried out encryption, now can correspondence be decrypted processing, and then can determine that whether parsing is successful.If resolve unsuccessfully, can play the multimedia file in this webpage at server end, thereby capture the media data flow of this multimedia when playing.Then according to this media data flow, generate multimedia file using described multimedia file as played data.
In optional embodiment of the present invention, also comprise: described in obtaining, comprise the web page address of described multimedia webpage, and set up corresponding relation with described multimedia data; Described web page address correspondence is kept in described collection.
After getting multimedia data according to webpage, can also obtain the web page address of this webpage, then set up the corresponding relation of multimedia data and web page address, thus corresponding its associated web page address of collection while collecting multimedia data in browser.As collected in collection in the catalogue of multi-medium data, configure two row, row are preserved multimedia data, and another row are preserved corresponding web page address.
In optional embodiment of the present invention, described collection comprises Cloud Server end collection and local collection, and described multimedia data are kept in described Cloud Server end collection and/or local collection.
The collection of browser can comprise the local collection of terminal, and the network profile of Cloud Server, therefore for multimedia data with and the associated information such as web page address, can store into respectively in local collection and network profile, in order to user, play the definite multimedia file of these multimedia data.
Step 203 is obtained collected multimedia data from the collection of browser.
Wherein said multimedia data for to capture and to obtain from comprise described multimedia webpage.
Step 204, analyzes the data type of described multimedia data, and determines described multimedia player plug-in unit according to described data type.
In the embodiment of the present invention, multimedia data can comprise following at least one: chained address, web page code and multimedia file.The data type of corresponding multimedia data can comprise: address class, files classes and code word.
Because multimedia data are to capture and obtain according to the webpage label of webpage, and may there is polytype in the player plug-in unit of loading multimedia file in webpage, as can be divided into flash player plug-in unit and non-flash player plug-in unit according to broadcasting means, and for example according to resource type, can be divided into video player and audio player, be not independently between different demarcation method.
With broadcasting means, be divided into example, the webpage that adopts the player plug-in unit of different types to carry out multimedia file broadcasting, also there is difference in the multimedia data that correspondence grabs, as the webpage that adopts flash player plug-in unit to play, from the multimedia data that wherein grab, it can be chained address, the webpage that and for example adopts non-flash player plug-in unit to play, can be chained address from the multimedia data that wherein grab equally, can be also web page code etc.
Wherein, chained address refers to web page address, i.e. URL(uniform resource locator) (Uniform Resource Locator, URL).
Therefore, in optional embodiment of the present invention, when described multimedia data are chained address, the data type of described multimedia data is address class, because chained address is the memory address of the multimedia file of broadcasting, therefore no matter be to adopt flash player plug-in unit, still adopt non-flash player plug-in unit all can play it, as long as be configured separately.
While being multimedia file for multimedia data, the data type of described multimedia data is files classes, and these multimedia data can adopt non-flash player plug-in unit.
When multimedia data are web page code, the data type of described multimedia data is code word, conventionally web page code directly gets from the webpage of flash player plug-in unit place, for at flash player plug-in unit play multimedia file, therefore can adopt flash player plug-in unit.
Step 205, plays these multimedia data.
According to multimedia data, can determine multimedia file, and then can adopt various ways when play multimedia file, as adopted built-in plug-in unit in browser, and for example adopt independently player process etc., in subsequent embodiment, discuss in detail.
In optional embodiment of the present invention, the described multimedia data of using described definite player plug-in unit to obtain described in loading in browser side are play, and comprising: described multimedia data are associated with the player plug-in unit in described browser; When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
Can the multimedia data of obtaining be carried out associated with the player plug-in unit in browser, in this player plug-in unit, load this multimedia data, and the broadcast event of these multimedia data points to this player plug-in unit, thereby at browser, receive after the indication information of playing these multimedia data, generate the broadcast event of multimedia data, and call this player plug-in unit, thereby play according to the definite multimedia file of these multimedia data.
In optional embodiment of the present invention, also comprise: by the startup event of the data of multimedia described in collection and the process context of described player; Receive the indication information that starts described multimedia data, and according to described indication information, trigger the startup event of described multimedia data; According to described startup event, call the process of associated described player, and described multimedia data are play.
When the definite multimedia file of play multimedia played data, can adopt independently player process to play, therefore can be by the startup event of multimedia data and the process context of described player, thus can use this player process to load the definite multimedia file of these multimedia data.
Thereby at browser, receive after the indication information that starts multimedia data, can be according to the startup event of this indication information triggered multimedia played data, then according to calling associated player process this start-up time, and then adopt this player process to play the definite multimedia file process of multimedia data.
In optional embodiment of the present invention, also comprise: create a webpage and embedded player plug-in unit in described webpage; By the broadcast information of described embedded player plug-in unit and described multimedia data correlation, and generate the web page address of described webpage.After generating the web page address of described webpage, also comprise: by the multimedia data replacement of collecting in described collection, be described web page address.The described multimedia data of using described definite player plug-in unit to obtain described in loading in browser side are play, comprise: after receiving indication information, adopt browser to open the webpage that described web page address is corresponding, and adopt player plug-in unit embedded in webpage to play described multimedia data.
When the definite multimedia file of play multimedia played data, can also be webpage of this multimedia data creation, this webpage is for playing the definite multimedia file of these multimedia data, thereby in webpage, do not comprise other irrelevant informations.Therefore can be in webpage embedded player plug-in unit, then by the broadcast information of this player plug-in unit and multimedia data correlation.If multimedia data are chained address, the broadcast address of this player plug-in unit is configured to this chained address, and for example multimedia data are multimedia file, configure this player plug-in unit and load this multimedia file.
By configuration, webpage can be play after the definite multimedia file of these multimedia data, can generate the web page address of this webpage.Can be further described web page address by the multimedia data replacement of collecting in collection, thereby after receiving indication information, adopt browser to open the webpage that described web page address is corresponding, and adopt player plug-in unit embedded in webpage to play described multimedia data.
In optional embodiment of the present invention, also comprise: when playing described multimedia data, to multimedia data cached download described in described player plug-in unit.
When adopting multimedia data to carry out the broadcasting of multimedia file, except multimedia data ability is exactly multimedia file, normally by the data of Network Capture multimedia file, it is play, therefore can be in the process of playing, this multimedia file to buffer memory in player plug-in unit is downloaded, thereby in the process of playing, can get complete multimedia file, without other download, save resource.
In optional embodiment of the present invention, also comprise: obtain collection in the descriptor of described multimedia data; According to described descriptor, obtain described multimedia recommendation broadcast information, and in described collection, show described recommendation broadcast information.
When capturing multimedia information, can also obtain the multimedia descriptor of playing in webpage, if file name, playing duration, size of data etc., can be by descriptor and multimedia information, and web page address together corresponding stored in collection.
Thereby can from this collection, obtain this descriptor, then according to this descriptor, obtain described multimedia recommendation broadcast information, recommend broadcast information to refer to other broadcast information of playing identical content of multimedia, as the high definition of same file name, high product multimedia file, the web page address of other broadcasting identical file titles etc., thus described recommendation broadcast information can in collection, be shown.
Thereby can recommend the downloading portal recommending data of better high definition, high-quality data can be from server side for the collection multi-medium data of downloading, it is according to the key word in multimedia file name, title, and the URL of the current video data playing etc. retrieves and obtains.
Embodiment tri-
With reference to Fig. 3 A, show the browser device structural drawing providing according to the embodiment of the present invention three.
On the basis of above-described embodiment, the present embodiment also provides a kind of browser device, comprising: acquisition module 301, analysis determination module 302 and playing module 303.
Wherein, acquisition module 301, obtains collected multimedia data for the collection from browser, and wherein said multimedia data obtain for capturing from comprise described multimedia webpage; Analyze and determination module 302, for analyzing the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type; Playing module 303, for playing in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
In sum, from the collection of browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage, and then determine described multimedia player plug-in unit by analyzing the data type of described multimedia data, then in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use, play.Thereby needn't only rely on original webpage just can play the multimedia file in this webpage, avoid the problem that cannot play due to the multimedia that webpage inefficacy causes.
Embodiment tetra-
With reference to Fig. 3 B, show the optional structural drawing of the browser device providing according to the embodiment of the present invention four.
On the basis of above-described embodiment three, the browser device that the present embodiment provides, comprising: acquisition module 301, analysis determination module 302, playing module 303, handling module 304, preservation module 305, buffer memory download module 309 and recommending module 310.
Wherein, acquisition module 301, obtains collected multimedia data for the collection from browser, and wherein said multimedia data for to capture and to obtain from comprise described multimedia webpage.
Analyze and determination module 302, for analyzing the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type.
Playing module 303, for playing in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
Handling module 304, for capturing the multimedia played data of webpage.
Preserve module 305, for the web page address that comprises described multimedia webpage described in obtaining, and set up corresponding relation with described multimedia data; Described web page address correspondence is kept in described collection.
Buffer memory download module 309, for when playing described multimedia data, to multimedia data cached download described in described player plug-in unit.
Recommending module 310, for obtaining collection in the descriptor of described multimedia data; According to described descriptor, obtain described multimedia recommendation broadcast information, and in described collection, show described recommendation broadcast information.
In optional embodiment of the present invention, analyze and determination module 302, for when described multimedia data are chained address, the data type of described multimedia data is address class, determines that described multimedia player plug-in unit is flash player plug-in unit or non-flash player plug-in unit; When described multimedia data are multimedia file, the data type of described multimedia data is files classes, determines that described multimedia player plug-in unit is non-flash player plug-in unit; When if described multimedia data are web page code, the data type of described multimedia data is code word, determines that described multimedia player plug-in unit is flash player plug-in unit.
In optional embodiment of the present invention, playing module 303, for associated with the player plug-in unit of described browser by described multimedia data; When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
In optional embodiment of the present invention, handling module 304, for carrying out webpage label corresponding to webpage multimedia described in Analysis deterrmination to webpage; According to described webpage label, obtain played data corresponding to multimedia in described webpage, wherein, described multimedia data comprise: web page code, source address or multimedia file.
Further, if described played data is multimedia file, described handling module 304, for the player plug-in unit loading when described webpage label, comprise restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, play described multimedia and capture described multimedia media data flow; Adopt described media data flow to generate multimedia file, and using described multimedia file as played data.
In optional embodiment of the present invention, described collection comprises Cloud Server end collection and local collection, and described multimedia data are kept in described Cloud Server end collection and/or local collection.
Above-mentioned Fig. 3 B is only for illustrating a kind of optional browser device structure, the embodiment of the present invention is not limited to this kind of structure, as can be do not comprised buffer memory download module 309 in the optional structure of browser device, recommending module 310 etc., below further adopt embodiment to discuss several optional play structure of this browser device, in this optional play structure, also can comprise the handling module 304 of the present embodiment, preserve module 305, buffer memory download module 309, one or more in recommending module 310, though do not draw in the drawings, should not be understood as the restriction to the embodiment of the present invention.
Embodiment five
With reference to Fig. 3 C, show the optional structural drawing of the browser device providing according to the embodiment of the present invention five.
On the basis of above-described embodiment three, the browser device that the present embodiment provides, comprising: acquisition module 301, analysis determination module 302, playing module 303 and associated calling module 306.
Wherein, acquisition module 301, obtains collected multimedia data for the collection from browser, and wherein said multimedia data for to capture and to obtain from comprise described multimedia webpage.
Analyze and determination module 302, for analyzing the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type.
Playing module 303, for playing in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
Associated calling module 306, for by the startup event of the data of multimedia described in collection and the process context of described player; Receive the indication information that starts described multimedia data, and according to described indication information, trigger the startup event of described multimedia data; According to described startup event, call the process of associated described player, and described multimedia data are play.
Embodiment six
With reference to Fig. 3 D, show the optional structural drawing of the browser device providing according to the embodiment of the present invention six.
On the basis of above-described embodiment three, the browser device that the present embodiment provides, comprising: acquisition module 301, analysis determination module 302, playing module 303, creation module 307 and replacement module 308.
Wherein, acquisition module 301, obtains collected multimedia data for the collection from browser, and wherein said multimedia data for to capture and to obtain from comprise described multimedia webpage.
Analyze and determination module 302, for analyzing the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type.
Playing module 303, for playing in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
Creation module 307, for creating a webpage and in described webpage embedded player; By the broadcast information of described embedded player and described multimedia data correlation, and generate the web page address of described webpage.
Replacement module 308, replaces with described web page address for the multimedia played data that described collection is collected; Described playing module 303, for after receiving indication information, adopts browser to open the webpage that described web page address is corresponding, and adopts player embedded in webpage to play described played data.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the browser device equipment of the play multimedia data of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
A kind of method that the invention discloses A1, play multimedia data, comprising: from the collection of browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage; Analyze the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type; In the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use, play.
A2, the method as described in A1, analyze the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type, comprise: when described multimedia data are chained address, the data type of described multimedia data is address class, determines that described multimedia player plug-in unit is flash player plug-in unit or non-flash player plug-in unit; When described multimedia data are multimedia file, the data type of described multimedia data is files classes, determines that described multimedia player plug-in unit is non-flash player plug-in unit; When if described multimedia data are web page code, the data type of described multimedia data is code word, determines that described multimedia player plug-in unit is flash player plug-in unit.
A3, the method as described in A1, the described multimedia data of using described definite player plug-in unit to obtain described in loading in browser side are play, and comprising: described multimedia data are associated with the player plug-in unit in described browser; When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
A4, the method as described in A1, also comprise the step that captures multimedia data in webpage: webpage is carried out described in Analysis deterrmination to webpage label corresponding to multimedia in webpage; According to described webpage label, obtain the multimedia data in described webpage, wherein, described multimedia data comprise: web page code, source address or multimedia file.
A5, the method as described in A4, if described multimedia data are multimedia file, according to described webpage label, obtain the multimedia data in described webpage, comprise: the player plug-in unit loading when described webpage label comprises restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, play described multimedia and capture described multimedia media data flow; Adopt described media data flow to generate multimedia file, and using described multimedia file as multimedia data.
A6, the method as described in A1, also comprise: described in obtaining, comprise the web page address of described multimedia webpage, and set up corresponding relation with described multimedia data; Described web page address correspondence is kept in described collection.
A7, the method as described in A1, described collection comprises Cloud Server end collection and local collection, described multimedia data are kept in described Cloud Server end collection and/or local collection.
A8, the method as described in A1, also comprise: by the startup event of the data of multimedia described in collection and the process context of described player; Receive the indication information that starts described multimedia data, and according to described indication information, trigger the startup event of described multimedia data; According to described startup event, call the process of associated described player, and described multimedia data are play.
A9, the method as described in A1, also comprise: create a webpage and embedded player plug-in unit in described webpage; By the broadcast information of described embedded player plug-in unit and described multimedia data correlation, and generate the web page address of described webpage.
A10, the method as described in A9, after generating the web page address of described webpage, also comprise: by the multimedia data replacement of collecting in described collection, be described web page address; The described multimedia data of using described definite player plug-in unit to obtain described in loading in browser side are play, comprise: after receiving indication information, adopt browser to open the webpage that described web page address is corresponding, and adopt player plug-in unit embedded in webpage to play described multimedia data.
A11, the method as described in A1, also comprise: when playing described multimedia data, to multimedia data cached download described in described player plug-in unit.
A12, the method as described in A1, also comprise: obtain collection in the descriptor of described multimedia data; According to described descriptor, obtain described multimedia recommendation broadcast information, and in described collection, show described recommendation broadcast information.
The embodiment of the invention also discloses B13, a kind of browser device, comprise: acquisition module, for obtaining collected multimedia data from the collection of browser, wherein said multimedia data obtain for capturing from comprise described multimedia webpage; Analyze and determination module, for analyzing the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type; Playing module, for playing in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
B14, the device as described in B13: as described in analysis determination module, for when described multimedia data are chained address, the data type of described multimedia data is address class, determines that described multimedia player plug-in unit is flash player plug-in unit or non-flash player plug-in unit; When described multimedia data are multimedia file, the data type of described multimedia data is files classes, determines that described multimedia player plug-in unit is non-flash player plug-in unit; When if described multimedia data are web page code, the data type of described multimedia data is code word, determines that described multimedia player plug-in unit is flash player plug-in unit.
B15, the device as described in B13: as described in playing module, for described multimedia data are associated with the player plug-in unit of described browser; When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
B16, the device as described in B13, also comprise: handling module, for capturing the multimedia played data of webpage; Specifically for webpage being carried out to described in Analysis deterrmination webpage label corresponding to multimedia in webpage; According to described webpage label, obtain played data corresponding to multimedia in described webpage, wherein, described multimedia data comprise: web page code, source address or multimedia file.
B17, the device as described in B16, if described played data is multimedia file, described handling module, for the player plug-in unit loading when described webpage label, comprise restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, play described multimedia and capture described multimedia media data flow; Adopt described media data flow to generate multimedia file, and using described multimedia file as played data.
B18, the device as described in B13, also comprise: preserve module, for the web page address that comprises described multimedia webpage described in obtaining, and set up corresponding relation with described multimedia data; Described web page address correspondence is kept in described collection.
B19, the device as described in B13, described collection comprises Cloud Server end collection and local collection, described multimedia data are kept in described Cloud Server end collection and/or local collection.
B20, the device as described in B13, also comprise: associated calling module, for by the startup event of the data of multimedia described in collection and the process context of described player; Receive the indication information that starts described multimedia data, and according to described indication information, trigger the startup event of described multimedia data; According to described startup event, call the process of associated described player, and described multimedia data are play.
B21, the device as described in B13, also comprise: creation module, for creating a webpage and in described webpage embedded player; By the broadcast information of described embedded player and described multimedia data correlation, and generate the web page address of described webpage.
B22, the device as described in B21, also comprise: replacement module, replaces with described web page address for the multimedia played data that described collection is collected; Described playing module, for after receiving indication information, adopts browser to open the webpage that described web page address is corresponding, and adopts player embedded in webpage to play described played data.
B23, the device as described in B13, also comprise: buffer memory download module, and for when playing described multimedia data, to multimedia data cached download described in described player plug-in unit.
B24, the device as described in B13, also comprise: recommending module, for obtaining collection in the descriptor of described multimedia data; According to described descriptor, obtain described multimedia recommendation broadcast information, and in described collection, show described recommendation broadcast information.

Claims (10)

1. a method for play multimedia data, comprising:
From the collection of browser, obtain collected multimedia data, wherein said multimedia data obtain for capturing from comprise described multimedia webpage;
Analyze the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type;
In the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use, play.
2. the method for claim 1, analyzes the data type of described multimedia data, and determines described multimedia player plug-in unit according to described data type, comprising:
When described multimedia data are chained address, the data type of described multimedia data is address class, determines that described multimedia player plug-in unit is flash player plug-in unit or non-flash player plug-in unit;
When described multimedia data are multimedia file, the data type of described multimedia data is files classes, determines that described multimedia player plug-in unit is non-flash player plug-in unit;
When if described multimedia data are web page code, the data type of described multimedia data is code word, determines that described multimedia player plug-in unit is flash player plug-in unit.
3. the method for claim 1, the described multimedia data of using described definite player plug-in unit to obtain described in loading in browser side are play, and comprising:
Described multimedia data are associated with the player plug-in unit in described browser;
When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
4. the method for claim 1, also comprises the step that captures multimedia data in webpage:
Webpage is carried out described in Analysis deterrmination to webpage label corresponding to multimedia in webpage;
According to described webpage label, obtain the multimedia data in described webpage, wherein, described multimedia data comprise: web page code, source address or multimedia file.
5. method as claimed in claim 4, if described multimedia data are multimedia file, obtains the multimedia data in described webpage according to described webpage label, comprising:
The player plug-in unit loading when described webpage label comprises restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, plays described multimedia and capture described multimedia media data flow;
Adopt described media data flow to generate multimedia file, and using described multimedia file as multimedia data.
6. a browser device, comprising:
Acquisition module, obtains collected multimedia data for the collection from browser, and wherein said multimedia data obtain for capturing from comprise described multimedia webpage;
Analyze and determination module, for analyzing the data type of described multimedia data, and determine described multimedia player plug-in unit according to described data type;
Playing module, for playing in the multimedia data of obtaining described in the described definite player plug-in unit loading of browser side use.
7. device as claimed in claim 6:
Described analysis determination module, for when described multimedia data are chained address, the data type of described multimedia data is address class, determines that described multimedia player plug-in unit is flash player plug-in unit or non-flash player plug-in unit; When described multimedia data are multimedia file, the data type of described multimedia data is files classes, determines that described multimedia player plug-in unit is non-flash player plug-in unit; When if described multimedia data are web page code, the data type of described multimedia data is code word, determines that described multimedia player plug-in unit is flash player plug-in unit.
8. device as claimed in claim 6:
Described playing module, for associated with the player plug-in unit of described browser by described multimedia data; When receiving the indication information of playing described multimedia data, adopt described player plug-in unit to play described multimedia data.
9. device as claimed in claim 6, also comprises:
Handling module, for capturing the multimedia played data of webpage; Specifically for webpage being carried out to described in Analysis deterrmination webpage label corresponding to multimedia in webpage; According to described webpage label, obtain played data corresponding to multimedia in described webpage, wherein, described multimedia data comprise: web page code, source address or multimedia file.
10. device as claimed in claim 9, if described played data is multimedia file, described handling module, for the player plug-in unit loading when described webpage label, comprise restricted information, and while resolving unsuccessfully to web page code corresponding to webpage label, play described multimedia and capture described multimedia media data flow; Adopt described media data flow to generate multimedia file, and using described multimedia file as played data.
CN201310628509.6A 2013-11-29 2013-11-29 Method for playing multimedia data and browser device Active CN103646054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310628509.6A CN103646054B (en) 2013-11-29 2013-11-29 Method for playing multimedia data and browser device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310628509.6A CN103646054B (en) 2013-11-29 2013-11-29 Method for playing multimedia data and browser device

Publications (2)

Publication Number Publication Date
CN103646054A true CN103646054A (en) 2014-03-19
CN103646054B CN103646054B (en) 2017-02-01

Family

ID=50251268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310628509.6A Active CN103646054B (en) 2013-11-29 2013-11-29 Method for playing multimedia data and browser device

Country Status (1)

Country Link
CN (1) CN103646054B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615761A (en) * 2015-02-13 2015-05-13 深圳市欧珀通信软件有限公司 Downloading method and downloading device for data of bookmark of mobile terminal
CN105847869A (en) * 2016-05-24 2016-08-10 武汉斗鱼网络科技有限公司 Encrypted playing method and apparatus
CN106408469A (en) * 2015-08-03 2017-02-15 天脉聚源(北京)科技有限公司 Course offline downloading and extraction method and system thereof
CN108683931A (en) * 2018-05-21 2018-10-19 瞪羚实训(北京)科技有限公司 A kind of multi-medium play method and system, storage medium
CN111813969A (en) * 2019-11-08 2020-10-23 厦门雅基软件有限公司 Multimedia data processing method and device, electronic equipment and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753385A (en) * 2008-12-09 2010-06-23 环达电脑(上海)有限公司 Failure redundancy system of digital media player and method thereof
CN102098327A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for downloading online video sniffer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615761A (en) * 2015-02-13 2015-05-13 深圳市欧珀通信软件有限公司 Downloading method and downloading device for data of bookmark of mobile terminal
CN104615761B (en) * 2015-02-13 2017-11-24 广东欧珀移动通信有限公司 A kind of method for down loading and device of mobile terminal favorites data
CN106408469A (en) * 2015-08-03 2017-02-15 天脉聚源(北京)科技有限公司 Course offline downloading and extraction method and system thereof
CN105847869A (en) * 2016-05-24 2016-08-10 武汉斗鱼网络科技有限公司 Encrypted playing method and apparatus
CN105847869B (en) * 2016-05-24 2019-06-18 武汉斗鱼网络科技有限公司 A kind of encryption playback method and device
CN108683931A (en) * 2018-05-21 2018-10-19 瞪羚实训(北京)科技有限公司 A kind of multi-medium play method and system, storage medium
CN111813969A (en) * 2019-11-08 2020-10-23 厦门雅基软件有限公司 Multimedia data processing method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN103646054B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US10313726B2 (en) Distributing media content via media channels based on associated content being provided over other media channels
CN104036011A (en) Webpage element display method and browser device.
IL295003B2 (en) Web document enhancement
CN104135685B (en) The display methods and display device of the broadcast information of video web page
CN103631905A (en) Webpage loading method and browser
US20090106297A1 (en) Methods and apparatus to create a media measurement reference database from a plurality of distributed sources
CN103631916A (en) Method and device for downloading downloadable resources
CN104135692B (en) The loading display method and loaded and displayed device of video information
CN103477641A (en) Creation of video bookmarks via scripted interactivity in advanced digital television
US10158918B2 (en) Bookmarking prospective media content on computer network
CN103646054A (en) Method for playing multimedia data and browser device
CN103533442A (en) Method and device for loading video popped screen
CN104615700A (en) Method for collecting webpage objects in browser, browser client side and system
CN103678487A (en) Method and device for generating web page snapshot
CN103823833A (en) Method and browser device for collecting multimedia data in web pages
CN103618947A (en) Method and device for displaying television external device files
CN103823829A (en) Method and device for playing webpage video
CN104394475A (en) Streaming media file playing method and media player
CN104796784A (en) Video playing method and device in application program
CN104463642A (en) Advertisement filtering processing method and device and browser client side
CN105554424A (en) Method and apparatus for video playing in application
US20140123163A1 (en) Managing display of content in a content feed
CN104468769A (en) Method, device and system for acquiring network data content and client side
CN106899879B (en) Multimedia data processing method and device
CN105765570A (en) Music identification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220713

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.