Multimedia resource playing method and device
Technical field
The present invention relates to internet area more particularly to a kind of multimedia resource playing method and devices.
Background technique
With the fast development of internet video industry, (User Generated Content, user are original by network UGC
Content) reciprocation of user emerges from.User is both the viewer of Web content and the creator of Web content.It is main
The UGC user of ejector half can create and broadcast list, can also reconfigure to be packaged into the premium content on line and broadcast the concepts such as list, album,
Play the raw content-aggregated strength of net.
The previous common UGC video of mesh is after uploading successfully, and after repeatedly reconfiguring, a video council correspondence is more
It is a to broadcast single, multiple album.When website run a video do not take clearly broadcast list or album information when, user clicks current
Video enters broadcasting, and the chain broadcast mechanism after playing current video will cause very chaotic relationship.For example, from the multiple of the video
It broadcasts and selects a progress chain broadcast in single and multiple albums at random, cause good recombination content that can not show, influence user
The usage scenario of continuous consumer video, influences user experience.
Summary of the invention
Technical problem
In view of this, how the technical problem to be solved by the present invention is to optimize chain broadcast mechanism in playing process.
Solution
In order to solve the above-mentioned technical problem, an embodiment according to the present invention provides a kind of multimedia resource broadcasting side
Method, comprising:
The playing request from client is received, includes the destination multimedia resource that request plays in the playing request
Information;
Search whether there is the first chain broadcast corresponding with the information of destination multimedia resource control information, described first
Chain broadcast controls the chain broadcast that information is established by the corresponding upload user of the destination multimedia resource and controls information;
In the case where finding the first chain broadcast control information, Xiang Suoshu client sends the first chain broadcast control
Information.
For the above method, in one possible implementation, further includes:
In the case where not finding the first chain broadcast control information, search whether exist and destination multimedia money
Corresponding second chain broadcast of the information in source controls information, and the second chain broadcast control information is that the destination multimedia resource is corresponding
The chain broadcast that non-upload user is established controls information;
In the case where finding the second chain broadcast control information, Xiang Suoshu client sends the second chain broadcast control
Information.
For the above method, in one possible implementation, in the feelings for finding the first chain broadcast control information
Under condition, Xiang Suoshu client sends first chain broadcast and controls information, comprising:
In the case where finding multiple first chain broadcast control information, according to each first chain broadcast control information
At least one of in corresponding temperature, user gradation and content quality, select the first chain broadcast to control information;
Selected first chain broadcast, which is sent, to the client controls information.
For the above method, in one possible implementation, in the feelings for finding the second chain broadcast control information
Under condition, Xiang Suoshu client sends second chain broadcast and controls information, comprising:
In the case where finding multiple second chain broadcast control information, according to each second chain broadcast control information
At least one of in corresponding temperature, user gradation and content quality, select the second chain broadcast to control information;
Selected second chain broadcast, which is sent, to the client controls information.
For the above method, in one possible implementation, further includes:
In the case where not finding the first chain broadcast control information and second chain broadcast control information, client is controlled
End shows other multimedia resources relevant to the destination multimedia resource.
In order to solve the above-mentioned technical problem, according to another embodiment of the present invention, a kind of multimedia resource broadcasting is provided
Device, comprising:
Receiving unit includes the mesh that request plays for receiving the playing request from client, in the playing request
Mark the information of multimedia resource;
First searching unit is connect with the receiving unit, for searching whether exist and the destination multimedia resource
Corresponding first chain broadcast of information control information, the first chain broadcast control information is on the destination multimedia resource is corresponding
Pass the chain broadcast control information that user is established;
First transmission unit is connect with first searching unit, described for finding in first searching unit
In the case that first chain broadcast controls information, Xiang Suoshu client sends first chain broadcast and controls information.
For above-mentioned apparatus, in one possible implementation, further includes:
Second searching unit is connect with first searching unit, for not finding institute in first searching unit
In the case where stating the first chain broadcast control information, search whether that having corresponding with the information of the destination multimedia resource second connects
Broadcast Control information, the company that the second chain broadcast control information is established by the corresponding non-upload user of the destination multimedia resource
Broadcast Control information;
Second transmission unit is connect with second searching unit, described for finding in second searching unit
In the case that second chain broadcast controls information, Xiang Suoshu client sends second chain broadcast and controls information.
For above-mentioned apparatus, in one possible implementation, first transmission unit includes:
First choice module is connect with first searching unit, multiple for finding in first searching unit
In the case where the first chain broadcast control information, according to the corresponding temperature of each first chain broadcast control information, user gradation
With at least one in content quality, the first chain broadcast is selected to control information;
First sending module is connect with the first choice module, for sending the first choice to the client
Selected first chain broadcast of module controls information.
For above-mentioned apparatus, in one possible implementation, second transmission unit includes:
Second selecting module is connect with second searching unit, multiple for finding in second searching unit
In the case where the second chain broadcast control information, according to the corresponding temperature of each second chain broadcast control information, user gradation
With at least one in content quality, the second chain broadcast is selected to control information;
Second sending module is connect with second selecting module, for sending second selection to the client
Selected second chain broadcast of module controls information.
For above-mentioned apparatus, in one possible implementation, further includes:
Display control unit is separately connected with first searching unit and second searching unit, for not looking into
In the case where finding the first chain broadcast control information and second chain broadcast control information, control client is shown and the mesh
Mark other relevant multimedia resources of multimedia resource.
Beneficial effect
The embodiment of the present invention preferentially returns to upload user to client and is built by destination multimedia resource in playing process
Vertical chain broadcast controls information, is conducive to show good chain broadcast content to user when playing destination multimedia resource, to have
Conducive to the continuous consuming multimedia resource of user is promoted, user experience is improved.
According to below with reference to the accompanying drawings becoming to detailed description of illustrative embodiments, other feature of the invention and aspect
It is clear.
Detailed description of the invention
Comprising in the description and constitute the attached drawing of part of specification and specification together illustrate it is of the invention
Exemplary embodiment, feature and aspect, and principle for explaining the present invention.
Fig. 1 shows the flow chart of multimedia resource playback method according to an embodiment of the invention;
Fig. 2 shows another flow charts of multimedia resource playback method according to an embodiment of the invention;
Fig. 3 shows the flow chart of multimedia resource playback method according to another embodiment of the present invention;
Fig. 4 shows the schematic diagram that video is selected in multimedia resource playback method according to another embodiment of the present invention;
Fig. 5, which is shown, shows that uploader created broadcasts in multimedia resource playback method according to another embodiment of the present invention
Single schematic diagram;
Fig. 6, which is shown, shows showing for automatic recommendation video in multimedia resource playback method according to another embodiment of the present invention
It is intended to;
Fig. 7, which is shown, shows that consumer created broadcasts in multimedia resource playback method according to another embodiment of the present invention
Single schematic diagram;
Fig. 8 shows the structural block diagram of multimedia resource playing device according to an embodiment of the invention;
Fig. 9 shows the structural block diagram of multimedia resource playing device according to another embodiment of the present invention;
Figure 10 shows the structural block diagram of multimedia resource playing device according to another embodiment of the present invention.
Specific embodiment
Below with reference to attached drawing various exemplary embodiments, feature and the aspect that the present invention will be described in detail.It is identical in attached drawing
Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in specific embodiment below.
It will be appreciated by those skilled in the art that without certain details, the present invention equally be can be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight purport of the invention.
Embodiment 1
Fig. 1 shows the flow chart of multimedia resource playback method according to an embodiment of the invention.As shown in Figure 1, this is more
Media resource plays method may include:
Step 101 receives the playing request from client, includes the more matchmakers of target that request plays in the playing request
The information of body resource;
Step 102 searches whether that there is the first chain broadcast corresponding with the information of the destination multimedia resource controls information,
The chain broadcast that the first chain broadcast control information is established by the corresponding upload user of the destination multimedia resource controls information;
Step 103, in the case where finding first chain broadcast control information, Xiang Suoshu client sends described first
Chain broadcast controls information.
In one possible implementation, in the case where finding the first chain broadcast control information, to the visitor
Family end sends first chain broadcast and controls information, comprising:
In the case where finding multiple first chain broadcast control information, according to each first chain broadcast control information
At least one of in corresponding temperature, user gradation and content quality, select the first chain broadcast to control information;It is sent out to the client
Send selected first chain broadcast control information.
It should be noted that the executing subject of the present embodiment multimedia resource playback method can support multimedia resource to broadcast
The various servers put, such as: video or the server of website etc..Multimedia can be the synthesis of media, such as can be with
Including the medias form such as text, sound and image.For example, multimedia resource can be video, audio etc., do not limit herein
It is fixed.
In addition, (referred to as uploading and using to the user of website upload multimedia resource by taking the website that multimedia resource plays as an example
Family), generally more understand its upload multimedia resource the characteristics of.Sometimes, upload user majority is the manager of website,
It also include the uploader of many UGC resources.What upload user was created broadcasts the chain broadcasts such as list or album control information, relative to random
The chain broadcast control information established such as non-upload user such as viewer, listener (or by consumer), usual more section
It learns, rationally, orderly.The correlation between each multimedia resource in chain broadcast that upload user is created control information usually compared with
Greatly.Therefore, the present embodiment preferentially returns to what upload user was established by destination multimedia resource to client in playing process
Chain broadcast controls information, is conducive to show good chain broadcast content to user when playing destination multimedia resource, may advantageously facilitate
The continuous consuming multimedia resource of user improves user experience.
Also, if the chain broadcast control information that upload user is established by destination multimedia resource have it is multiple, can also be from
In preferentially choose optimal chain broadcast control information, be more advantageous into the chain broadcast that good destination multimedia resource is presented in user
Hold.
In one possible implementation, as shown in Fig. 2, the multimedia resource playback method can also include:
Step 104, in the case where not finding first chain broadcast control information, search whether to exist and the target
Corresponding second chain broadcast of the information of multimedia resource controls information, and the second chain broadcast control information is destination multimedia money
The chain broadcast that the corresponding non-upload user in source is established controls information;
Step 105, in the case where finding second chain broadcast control information, Xiang Suoshu client sends described second
Chain broadcast controls information.
If searched in the server less than user's (the i.e. destination multimedia resource correspondence for uploading the destination multimedia resource
Upload user example) created broadcast first chain broadcast such as list or album control information, then can continue to look into the server
Look for user (i.e. the example of the corresponding non-upload user of the destination multimedia resource) institute for watching or listening to the destination multimedia resource
Second chain broadcast such as list or album control information is broadcast in creation.
In one possible implementation, in the case where finding the second chain broadcast control information, to the visitor
Family end sends second chain broadcast and controls information, comprising:
In the case where finding multiple second chain broadcast control information, according to each second chain broadcast control information
At least one of in corresponding temperature, user gradation and content quality, select the second chain broadcast to control information;It is sent out to the client
Send selected second chain broadcast control information.
In one possible implementation, as shown in Fig. 2, the multimedia resource playback method can also include: step
106, do not find the first chain broadcast control information and the second chain broadcast control information in the case where, control client show with it is described
Other relevant multimedia resources of destination multimedia resource.
If both having searched the first chain broadcast that the corresponding upload user of fall short multimedia resource is created in the server
Information is controlled, the second chain broadcast control information that the corresponding non-upload user of fall short multimedia resource is created also is searched, says
The bright destination multimedia resource may not be created chain broadcast control information.In this case, can return to client does not have
Chain broadcast controls the notice or prompting of information, so that client can be shown and the target according to the notice or prompting in front end
Other relevant multimedia resources of multimedia resource.
The present embodiment preferentially returns to what upload user was established by destination multimedia resource to client in playing process
Chain broadcast controls information, when upload user is not that destination multimedia resource establishes chain broadcast control information, can return to client
It returns the chain broadcast that non-upload user is established by destination multimedia resource and controls information, be conducive to when playing destination multimedia resource
Good chain broadcast content is shown to user, to may advantageously facilitate the continuous consuming multimedia resource of user, improves user experience.
Also, if the chain broadcast control information that non-upload user is established by destination multimedia resource have it is multiple, can also therefrom preferentially
Optimal chain broadcast control information is chosen, the chain broadcast content that good destination multimedia resource is presented to user is more advantageous to.
Embodiment 2
Fig. 3 shows the flow chart of multimedia resource playback method according to another embodiment of the present invention.As shown in figure 3, mesh
Multimedia resource is marked to be illustrated for a certain video to the multimedia resource playback method.The multimedia resource
Playback method the following steps are included:
When step 301, user select issued video from the webpage of certain website, client can be to server
Send playing request, the relevant data of the request video.As shown in figure 4, video A is at web portal not with broadcasting list
(or the chain broadcasts such as album control information).
After step 302, server receive the corresponding playing request of the video, start to query.By video and the video
Single content of broadcasting that uploader (example of upload user) is created is compared, and judges that whether the video is not uploaded person and created and broadcasts
It is single.Data after comparison are transmitted back to front end (client) and are presented on playlist by server, to realize chain broadcast mechanism.If the view
The frequency person of being uploaded, which created, broadcasts list, can execute step 303.If the video is not uploaded person, list is broadcast in creation, can execute step
Rapid 304.
Step 303, backstage (server) judge the video whether be not uploaded person repeatedly create it is different broadcast it is single (i.e., whether
There are multiple chain broadcast control information).If repeatedly creating different lists of broadcasting, front end can be according to broadcasting single temperature, user gradation, user
The dimensions such as content quality are issued, preferentially single-row table is broadcast in display, to realize chain broadcast mechanism.If the video is not only uploaded person and creates one
List is broadcast, then shows that this broadcasts single-row table in front end, and broadcast the video sequences chain broadcast in single-row table according to this.For example, as shown in figure 5,
In broadcasting in single-row table (dotted ellipse frame) for the video " spark " that uploader is created, may include and the performance of video " spark "
The video of person " Ma Tianyu ".
Step 304 judges whether the video was created by consumer's (example of non-upload user) and broadcast list from the background.If the view
Frequency was created by consumer broadcasts list, can execute step 305.It is aobvious in front end if the video does not broadcast list by consumer's creation
Show the associated video list that server is recommended automatically according to the video that request plays, is broadcast according to the video sequences in the list of videos
It puts, to realize chain broadcast.As shown in fig. 6, may include server push in the list of videos (dotted ellipse frame) of video " spark "
Other videos recommended.Compared with the video broadcast in list that uploader is created, between these videos and video " spark " for recommending
Correlation it is smaller.
Step 305 judges whether the video is repeatedly created by consumer from the background and different broadcasts list.If repeatedly creating different
Broadcast list, then front end can be according to the dimensions such as single temperature, user gradation, user's publication content quality be broadcast, and preferentially single-row table is broadcast in display,
To realize chain broadcast mechanism.If the video only creates one by consumer and broadcasts list, front end shows that this broadcasts single-row table, single-row according to broadcasting
Video sequences chain broadcast in table.For example, as shown in fig. 7, the single-row table of broadcasting of the video " spark " created in consumer (dotted line is ellipse
Round frame) in, it may include video relevant to video " spark ".Compared with the video broadcast in list that uploader is created, these
Correlation between relevant video and video " spark " is smaller.Compared with the video that server is recommended, these relevant videos
Correlation between video " spark " may be larger.
Embodiment 3
Fig. 8 shows the structural block diagram of multimedia resource playing device according to an embodiment of the invention.As shown in figure 8, should
Multimedia resource playing device may include:
Receiving unit 41 includes what request played in the playing request for receiving the playing request from client
The information of destination multimedia resource;
First searching unit 43 is connect with the receiving unit 41, for searching whether exist and the destination multimedia
Corresponding first chain broadcast of the information of resource controls information, and the first chain broadcast control information is corresponding for the destination multimedia resource
Upload user established chain broadcast control information;
First transmission unit 45 is connect with first searching unit 43, for searching in first searching unit 43
In the case where controlling information to first chain broadcast, Xiang Suoshu client sends first chain broadcast and controls information.
Embodiment 4
Fig. 9 shows the structural block diagram of multimedia resource playing device according to another embodiment of the present invention.In Fig. 9 label with
The identical component of Fig. 8 function having the same omits the detailed description to these components for simplicity.
As shown in figure 9, being with the main distinction of embodiment 3, which can also include:
Second searching unit 51 is connect with first searching unit 43, for not looking into first searching unit 43
In the case where finding the first chain broadcast control information, search whether to exist corresponding with the information of the destination multimedia resource
Second chain broadcast controls information, and the second chain broadcast control information is built by the corresponding non-upload user of the destination multimedia resource
Vertical chain broadcast controls information;
Second transmission unit 53 is connect with second searching unit 51, for searching in second searching unit 51
In the case where controlling information to second chain broadcast, Xiang Suoshu client sends second chain broadcast and controls information.
In one possible implementation, first transmission unit 45 includes:
First choice module 451 is connect with first searching unit 43, for searching in first searching unit 43
In the case where multiple first chain broadcast control information, according to corresponding temperature, the use of each first chain broadcast control information
At least one of in family grade and content quality, select the first chain broadcast to control information;
First sending module 453 is connect with the first choice module 451, for sending described the to the client
Selected first chain broadcast of one selecting module 451 controls information.
In one possible implementation, second transmission unit 53 includes:
Second selecting module 531 is connect with second searching unit 51, for searching in second searching unit 51
In the case where multiple second chain broadcast control information, according to corresponding temperature, the use of each second chain broadcast control information
At least one of in family grade and content quality, select the second chain broadcast to control information;
Second sending module 533 is connect with second selecting module 531, for sending described the to the client
Selected second chain broadcast of two selecting module 531 controls information.
In one possible implementation, the multimedia resource playing device further include:
Display control unit 55 is separately connected with first searching unit 43 and second searching unit 51, is used for
In the case where not finding first chain broadcast control information and second chain broadcast control information, control client show and
Other relevant multimedia resources of the destination multimedia resource.
About the device in above-described embodiment, wherein each unit, module execute the concrete mode of operation related
It is described in detail in the embodiment of this method, then explanation is not set forth in detail in this.
Embodiment 4
Figure 10 shows the structural block diagram of multimedia resource playing device according to another embodiment of the present invention.The multimedia
Resource playing device 1100 can be the host server for having computing capability, personal computer PC or portable portable
Formula computer or terminal etc..The specific embodiment of the invention does not limit the specific implementation of calculate node.
The multimedia resource playing device 1100 includes processor (processor) 1110, communication interface
(Communications Interface) 1120, memory (memory) 1130 and bus 1140.Wherein, processor 1110,
Communication interface 1120 and memory 1130 pass through bus 1140 and complete mutual communication.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to
Enjoy storage etc..
Processor 1110 is for executing program.Processor 1110 may be a central processor CPU or dedicated collection
At circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement the present invention
One or more integrated circuits of embodiment.
Memory 1130 is for storing file.Memory 1130 may include high speed RAM memory, it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1130 is also possible to deposit
Memory array.Memory 1130 is also possible to by piecemeal, and described piece can be combined into virtual volume by certain rule.
In a kind of possible embodiment, above procedure can be the program code for including computer operation instruction.The journey
Sequence is particularly used in the multimedia resource playback method executed in embodiment 1 or embodiment 2.
Those of ordinary skill in the art may be aware that each exemplary cell and algorithm in embodiment described herein
Step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions actually with hardware also
It is software form to realize, the specific application and design constraint depending on technical solution.Professional technician can be directed to
It is specific that described function is realized using different methods is selected, but this realization is it is not considered that exceed model of the invention
It encloses.
If realizing the function and when sold or used as an independent product in the form of computer software,
To a certain extent it is believed that all or part (such as the part that contributes to existing technology) of technical solution of the present invention is
It embodies in form of a computer software product.The computer software product is generally stored inside computer-readable non-volatile
In storage medium, including some instructions are used so that computer equipment (can be personal computer, server or network to set
It is standby etc.) execute all or part of the steps of various embodiments of the present invention method.And storage medium above-mentioned include USB flash disk, mobile hard disk,
Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
The various media that can store program code such as dish or CD.
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, protection scope of the present invention should be based on the protection scope of the described claims.