CN110099293A - Play method, apparatus, equipment and the readable storage medium storing program for executing of video - Google Patents

Play method, apparatus, equipment and the readable storage medium storing program for executing of video Download PDF

Info

Publication number
CN110099293A
CN110099293A CN201910361575.9A CN201910361575A CN110099293A CN 110099293 A CN110099293 A CN 110099293A CN 201910361575 A CN201910361575 A CN 201910361575A CN 110099293 A CN110099293 A CN 110099293A
Authority
CN
China
Prior art keywords
video
client
target
server
initial
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
CN201910361575.9A
Other languages
Chinese (zh)
Other versions
CN110099293B (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201910361575.9A priority Critical patent/CN110099293B/en
Publication of CN110099293A publication Critical patent/CN110099293A/en
Application granted granted Critical
Publication of CN110099293B publication Critical patent/CN110099293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel

Abstract

This application discloses the method, apparatus, equipment and the readable storage medium storing program for executing that play video, belong to network direct broadcasting field.Method includes: the target identification for being used to indicate target video for receiving management server and sending, and obtains target video indicated by target identification from video server according to target identification;Initial video is updated according to target video, obtains updated video, initial video and updated video are indicated by reference identification;Updated video is sent to video server, the acquisition instruction that video server is used to send according to client sends updated video to client, so that the video that client is played switchs to updated video by initial video.The application updates the initial video of reference identification instruction by mixed flow server according to the video that main broadcaster end pushes, so that client is flowed according to reference identification from video server acquisition is same all the way always when main broadcaster end is replaced, thus the video fluency of client terminal playing is higher, and result of broadcast is more preferably.

Description

Play method, apparatus, equipment and the readable storage medium storing program for executing of video
Technical field
This application involves network direct broadcasting field, in particular to a kind of method, apparatus, equipment and readable storage for playing video Medium.
Background technique
With the development of network direct broadcasting, various live forms are continuously emerged, and the live streaming of channel room is therein one Kind.During the live streaming of channel room, different main broadcasters are broadcast live in same channel room in turn, i.e., channel room video is by different main broadcaster ends It pushes in turn.After client detects that channel room is selected, then need to play out channel room video.
The relevant technologies provide a kind of method for playing video.Wherein, main broadcaster end is in turn by video push to Video service Device.After client detects that channel room is selected, obtains from management server to be used to indicate and be currently just broadcast live in channel room The first identifier for the video that main broadcaster is pushed pulls video from video server according to first identifier and plays.If in channel room Main broadcaster replacement, then management server to client send notification information, the notification information carry be used to indicate replacement after The second identifier for the video that main broadcaster end is pushed, so that client pulls video simultaneously from video server again according to second identifier It plays, to realize the broadcasting of channel room video in client.
However, if the notification information that management server is sent loses or delay, client does not pull or postpones to pull the The video that main broadcaster end after the replacement of two mark instructions is pushed.Client receives after notification message again from video server This process is pulled, the channel room video that client is played is also resulted in and Caton occurs.As can be seen that being broadcast using the relevant technologies The video put is not smooth enough, and fluency is not high, and result of broadcast is bad, affects user experience.
Apply for content
The embodiment of the present application provides a kind of method, apparatus, equipment and readable storage medium storing program for executing for playing video, to solve phase The problem that the video that pass technology plays is not smooth enough, result of broadcast is bad.The technical solution is as follows:
On the one hand, a kind of method for playing video is provided, which comprises
The target identification for being used to indicate target video that management server is sent is received, sends the mesh to video server Mark mark, to obtain target video indicated by the target identification from the video server;
Initial video is updated according to the target video, obtains updated video, the initial video and the update Video afterwards is indicated by reference identification;
The updated video is sent to the video server, the video server according to client for sending Acquisition instruction send the updated video to the client so that the video that is played of the client by it is described just Beginning video switchs to the updated video.
Optionally, what the reception management server was sent is used to indicate before the target identification of target video, the side Method further include:
The instruction of starting broadcasting that the management server is sent is received, is sent according to the instruction of starting broadcasting to the video server The initial video, the acquisition instruction that the video server is used to be sent according to the client send institute to the client Initial video is stated, so that initial video described in the client terminal playing.
Optionally, described that initial video is updated according to the target video, obtain updated video, comprising:
By the target video splicing after the initial video, obtain splicing video, using the splicing video as The updated video.
Optionally, what the reception management server was sent is used to indicate after the target identification of target video, the side Method further include:
If not getting the view of target indicated by the target identification from the video server according to the target identification Frequently, obtain reference video, the initial video updated according to the reference video, obtain alternate video, the initial video and The alternate video is indicated by the reference identification;
The alternate video is sent to the video server, the video server is used to send according to the client Acquisition instruction send the alternate video to the client so that alternate video described in the client terminal playing.
On the one hand, a kind of method for playing video is provided, which comprises
The target identification for being used to indicate target video that mixed flow server is sent is received, institute is obtained according to the target identification State target video indicated by target identification;
The target video is sent to the mixed flow server, the mixed flow server is used for according to the target video more New initial video obtains updated video;
Receive the updated video that the mixed flow server is sent, with the acquisition instruction that is sent according to client to The client sends the updated video, and the client is used to be switched to described in broadcasting more by playing the initial video Video after new.
Optionally, what the reception mixed flow server was sent is used to indicate before the target identification of target video, the side Method further include:
Receive the initial video that the mixed flow server is sent, with the acquisition instruction that is sent according to the client to The client sends the initial video, and the client is for playing the initial video.
Optionally, what the reception mixed flow server was sent is used to indicate after the target identification of target video, the side Method further include:
If according to the target identification target identification has not been obtained indicated by target video, receive mixed flow clothes The alternate video that business device is sent, the alternate video include the mixed flow server according to the reference video update initial video Obtained video sends the alternate video, the visitor to the client with the acquisition instruction sent according to the client Family end is for playing the alternate video.
On the one hand, a kind of method for playing video is provided, which comprises
Obtain the target identification for being used to indicate target video;
The target identification for being used to indicate target video is sent to mixed flow server, the mixed flow server is used for according to Target identification obtains target video indicated by the target identification from video server, and is updated according to the target video Initial video obtains updated video so that the video that client is played switched to by the initial video it is described updated Video.
Optionally, the acquisition is used to indicate before the target identification of target video, the method also includes:
Instruction of starting broadcasting is sent to the mixed flow server, is instructed so that the mixed flow server starts broadcasting according to video Server sends the initial video;
If receiving the playing request of the client, Xiang Suoshu client sends the ginseng for being used to indicate the initial video Mark is examined, the client is used to send acquisition instruction to the video server based on the reference identification, described in playing Initial video indicated by reference identification.
On the one hand, a kind of device for playing video is provided, described device includes:
First receiving module, for receiving the target identification for being used to indicate target video of management server transmission, to view Frequency server sends the target identification, to obtain target video indicated by the target identification from the video server;
Update module obtains updated video, the initial view for updating initial video according to the target video Frequency and the updated video are indicated by reference identification;
Sending module, for sending the updated video to the video server, the video server is used for The updated video is sent to the client according to the acquisition instruction that client is sent, so that the client is played Video the updated video is switched to by the initial video.
Optionally, described device further include: the second receiving module, the finger that starts broadcasting sent for receiving the management server It enables, the initial video is sent to the video server according to the instruction of starting broadcasting, the video server is used for according to institute The acquisition instruction for stating client transmission sends the initial video to the client, so that initial described in the client terminal playing Video.
Optionally, the update module, for after the initial video, being spliced target video splicing Video, using the splicing video as the updated video.
Optionally, described device further include: module is obtained, if being used for according to the target identification not from the Video service Device gets target video indicated by the target identification, obtains reference video, is updated according to the reference video described first Beginning video, obtains alternate video, and the initial video and the alternate video are indicated by the reference identification;To the video Server sends the alternate video, and the acquisition instruction that the video server is used to be sent according to the client is to the visitor Family end sends the alternate video, so that alternate video described in the client terminal playing.
On the one hand, a kind of device for playing video is provided, described device includes:
First receiving module, for receiving the target identification for being used to indicate target video of mixed flow server transmission, according to The target identification obtains target video indicated by the target identification;
Sending module, for sending the target video to the mixed flow server, the mixed flow server is used for basis The target video updates initial video, obtains updated video;
Second receiving module, the updated video sent for receiving the mixed flow server, according to client The acquisition instruction sent is held to send the updated video to the client, the client is used for described initial by playing Video switchs to play the updated video.
Optionally, described device further include: third receiving module, for receiving the described first of the mixed flow server transmission Beginning video sends the initial video, the client to the client with the acquisition instruction sent according to the client For playing the initial video.
Optionally, described device further include: the 4th receiving module, if described for being had not been obtained according to the target identification Target video indicated by target identification receives the alternate video that the mixed flow server is sent, and the alternate video includes institute It states mixed flow server and the video that the initial video obtains is updated according to reference video, with the acquisition sent according to the client It instructs to the client and sends the alternate video, the client is for playing the alternate video.
On the one hand, a kind of device for playing video is provided, described device includes:
Module is obtained, for obtaining the target identification for being used to indicate target video;
First sending module, for sending the target identification for being used to indicate target video, the mixed flow to mixed flow server Server is used to obtain target video indicated by the target identification, Yi Jigen from video server according to the target identification Initial video is updated according to the target video and obtains updated video, so that the video that client is played is by the initial view Frequency switchs to the updated video.
Optionally, described device further include: the second sending module, for sending instruction of starting broadcasting to the mixed flow server, So that the mixed flow server starts broadcasting according to, instruction sends the initial video to video server;
Third sending module, if the playing request for receiving the client, Xiang Suoshu client is sent for referring to Show that the reference identification of the initial video, the client are used to obtain based on the reference identification to video server transmission Instruction fetch, to play initial video indicated by the reference identification.
On the one hand, a kind of equipment for playing video is provided, the equipment includes memory and processor;The memory In be stored at least one instruction, at least one instruction is loaded and is executed by the processor, to realize that the application is implemented The method of broadcasting video in any possible embodiment of example various aspects or various aspects.
On the other hand, a kind of readable storage medium storing program for executing is provided, at least one instruction is stored in the storage medium, it is described Instruction is loaded by processor and is executed any possible embodiment to realize the embodiment of the present application various aspects or various aspects In broadcasting video method.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
The video that the embodiment of the present application is pushed by mixed flow server according to main broadcaster end updates indicated by reference identification Initial video enables client same from video server acquisition according to reference identification always when main broadcaster end is replaced The process that management server sends notification information and client pulls video according to notification information again is omitted in Lu Liu, thus So that the video that client is played is more smooth, fluency is higher, and more preferably, the usage experience of user is preferable for result of broadcast.
Detailed description of the invention
Fig. 1 is implementation environment schematic diagram provided by the embodiments of the present application;
Fig. 2 is the flow chart of the method provided by the embodiments of the present application for playing video;
Fig. 3 is the interaction schematic diagram of the method provided by the embodiments of the present application for playing video;
Fig. 4 is the structural schematic diagram of the device provided by the embodiments of the present application for playing video;
Fig. 5 is the structural schematic diagram of the device provided by the embodiments of the present application for playing video;
Fig. 6 is the structural schematic diagram of the device provided by the embodiments of the present application for playing video;
Fig. 7 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
With the development of network direct broadcasting, the live streaming of channel room is widely used in life as a kind of new live form. During the live streaming of channel room, different main broadcasters are broadcast live in same channel room in turn, i.e., channel room video is taken turns by different main broadcaster ends Stream push.Therefore, client can play out channel room video, so that user watches the live streaming of channel room.
The relevant technologies provide a kind of method for playing video.Wherein, main broadcaster end is in turn by video push to Video service Device.After client detects that channel room is selected, obtains from management server to be used to indicate and be currently just broadcast live in channel room The first identifier for the video that main broadcaster is pushed pulls video from video server according to first identifier and plays.If in channel room Main broadcaster replacement, then management server to client send notification information, the notification information carry be used to indicate replacement after The second identifier for the video that main broadcaster end is pushed, so that client pulls video simultaneously from video server again according to second identifier It plays.
If the notification information that management server is sent is lost or delay, client do not pull or postpone to pull second identifier The video that main broadcaster end after the replacement of instruction is pushed.Therefore, the channel room video that client is played refers to by first identifier The video shown switchs to that Caton can occur during the video that second identifier indicates.In addition, after client receives notification message Again this process is pulled from video server, also results in the channel room video that client is played and Caton occurs.It can see Out, the video played using the relevant technologies is not smooth enough, and fluency is not high, and result of broadcast is bad, affects user experience.
The embodiment of the present application provides a kind of method for playing video, and this method can be applied to implementation ring as shown in Figure 1 In border.In Fig. 1, including management server 11, video server 12, mixed flow server 13, client 14 and at least two main broadcasters End 15.Wherein, management server 11 and mixed flow server 13, client 14 and at least two main broadcaster ends 15 carry out communication link respectively It connects, is instructed with being sent to mixed flow server 13, client 14 and at least two main broadcaster ends 15.Video server 12 and mixed flow service Device 13, client 14 and at least two main broadcaster ends 15 are communicatively coupled respectively, to carry out the friendship of video with mixed flow server 13 Mutually, it receives video transmitted by least two main broadcaster ends 15 and sends video to client 14.
Wherein, client 14 and at least two main broadcaster ends 15 may each be terminal, terminal include any one can with Family carries out man-machine friendship by one or more modes such as keyboard, touch tablet, touch screen, remote controler, interactive voice or handwriting equipment Mutual electronic product, such as PC (Personal Computer, personal computer), mobile phone, smart phone, PDA (Personal Digital Assistant, personal digital assistant), wearable device, palm PC PPC (Pocket PC), tablet computer, intelligence Energy vehicle device, smart television, intelligent sound box etc..
Management server 11, video server 12 and mixed flow server 13 may each be a server, be also possible to The server cluster be made of multiple servers or a cloud computing service center.
Those skilled in the art will be understood that above-mentioned terminal and server is only for example, other are existing or may go out from now on Existing terminal or server is such as applicable to the application, should also be included within the application protection scope, and herein with reference side Formula is incorporated herein.
Based on above-mentioned implementation environment shown in FIG. 1, referring to fig. 2, the embodiment of the present application provides a kind of side for playing video Method, this method can be applied in implementation environment shown in FIG. 1.As shown in Fig. 2, this method comprises:
Step 201, management server obtains the target identification for being used to indicate target video.
Wherein, management server is the server for managing channel room.Therefore, management server can be in channel room Two or more main broadcaster ends are managed.Management server controls each main broadcaster end to Video service by way of sending instruction The time of device pushing video and sequence, so that main broadcaster end is in turn to video server pushing video, video server can be to main broadcaster Pushed video is held to be stored.Target video is the video that video server is pushed to by any main broadcaster end, target identification It is used to indicate the target video.
It should be noted that video server may include one or more child servers.It include more in video server In the case where a child servers, management server is not needed after the push that all videos are completed at a main broadcaster end, and just control is another One main broadcaster end starts the push of video, and multiple main broadcaster ends may be implemented and synchronize to video server pushing video, that is, controls Different child servers are given video push in different main broadcaster ends, to improve the flexibility of management.In a kind of optional implementation In mode, video server can be CDN (Content Delivery Network, content distributing network) server.
The mode of target identification is obtained for management server, can be sent management to main broadcaster end from management server and be referred to It enables, to indicate that target video is pushed to video server by the main broadcaster end, target identification is returned into management server.Alternatively, Target video directly can also be pushed to by video server by main broadcaster end, by target identification active transmission to management server.
No matter using which kind of above mode, management server can receive target identification transmitted by main broadcaster end, thus Realize the acquisition of target identification.
Step 202, management server sends the target identification for being used to indicate target video to mixed flow server.
After management server gets target identification, management server can be triggered to mixed flow server and send target Mark, in order to which mixed flow server obtains target video indicated by target identification from video server according to target identification. Optionally, management server can realize the transmission of target identification by way of sending the group packet for carrying target identification.
As can be seen that management server also can be used other than for managing two or more main broadcaster ends in channel room In management mixed flow server, so that mixed flow server gets the target video that main broadcaster end is pushed.
Step 203, mixed flow server receives the target identification for being used to indicate target video that management server is sent, to view Frequency server sends target identification, to obtain video indicated by target identification from video server.
Since management server has sent target identification to mixed flow server, thus mixed flow server can receive the target mark Know.If management server sends target identification by group packet, correspondingly, mixed flow server receives the group packet, passes through parsing Group packet obtains target identification meaning from video server according to the target identification to obtain target identification entrained by the group packet The video shown.Acquisition modes include: to send the target identification to video server, so that video server is according to the target identification Target video indicated by target identification is obtained, and target video is returned into mixed flow server, so that mixed flow server Get target video.
Step 204, video server receives the target identification for being used to indicate target video that mixed flow server is sent, according to Target identification obtains target video indicated by target identification.
After mixed flow server sends target identification to video server, video server just obtains master according to target identification It broadcasts and holds pushed target video.Since video server may include multiple child servers, thus video server obtains master Broadcasting and holding the mode of pushed target video includes: that video server detects multiple child servers respectively, if detecting any son Server is stored with target video indicated by target identification, then obtains target video from the child servers, to realize mesh Mark the acquisition of video.
Step 205, video server sends target video to mixed flow server.
After video server gets target video, the target video that can be will acquire is sent to mixed flow server, thus Triggering mixed flow server updates initial video according to target video, is detailed in step 206.
Step 206, mixed flow server updates initial video according to target video, obtains updated video, initial video And updated video is indicated by reference identification.
According to the above it is found that target video is the video for being pushed to video server by main broadcaster end, mixed flow server Target video is got from video server by the target identification that management server is sent.And initial video is in mixed flow service Before device receives the target identification that management server is sent, the video of video server is sent to by mixed flow server.Therefore, may be used Selection of land, before the target identification that mixed flow server receives that management server is sent, method provided in this embodiment further include: pipe Reason server sends instruction of starting broadcasting to mixed flow server.Mixed flow server receives the instruction of starting broadcasting that management server is sent, according to It starts broadcasting to instruct to video server and sends initial video.Video server receives the initial video that mixed flow server is sent, with root The acquisition instruction sent according to client sends initial video to client, and client is for playing initial video.
Wherein, instruction of starting broadcasting, which is used to indicate management server and has controlled channel room, enters active state, if client detects It is selected to the channel room being in active state, then the channel room video in the channel room can be obtained from video server to be broadcast It puts.That is, the channel room video in the channel room being in active state should be stored in video server.Therefore, mixed flow takes Device be engaged in video server transmission initial video, using the initial video as channel room video.
If client detects that the channel room being in active state is selected, it can send to play to management server and ask It asks.Since initial video is as indicated by reference identification, thus management server the playing request for receiving client transmission it Afterwards, reference identification is sent to client.Client is based on reference identification and sends acquisition instruction, video server to video server According to initial video (acquisition modes are referring to the explanation in step 204) indicated by acquisition instruction acquisition reference identification and return to Client, so that the initial video that client terminal playing receives.
It should be noted that mixed flow server to video server send initial video during, initial video with Manifold formula is sent.Manifold formula refers to: initial video segmentation is sent to by mixed flow server according to the time sequencing of initial video Video server, initial video can also be segmented and return to client by video server, so that client can real-time segmentation It receives initial video and plays, without being played out again after downloading whole initial videos, to ensure that broadcasting for client Put effect.
In addition, being not limited in the present embodiment for the content of initial video.For example, initial video includes but unlimited The video that pushed in the promotional videos of the network direct broadcasting platform where channel room, the main broadcaster in the passing time in channel room or Main broadcaster in channel room will start the videos such as the advance notice video of live streaming.
Further, it after main broadcaster end has pushed target video to video server, then needs to replace target video Initial video is as channel room video.Therefore, mixed flow server updates initial video according to target video, updated to obtain Video, using updated video as channel room video.Optionally, update mode includes: that mixed flow server spells target video It connects after initial video, obtains splicing video, using splicing video as updated video.
Wherein, since target video is that mixed flow server is sending the view obtained after initial video to video server Frequently, thus sequentially in time by target video splicing after initial video, using the splicing video of formation as updated Video, so that video indicated by reference identification switchs to updated video by initial video.That is, initial video And updated video is by indicated by reference identification.
It, can be further by updated video after mixed flow server obtains updated video according to above method It is sent to video server.
Step 207, mixed flow server sends updated video to video server.
Wherein, updated video can also be sent to video server by manifold formula, and transmission process can be found in step 206, it is not repeated here herein.
Step 208, video server receives the updated video that mixed flow server is sent, with what is sent according to client Acquisition instruction sends updated video to client, and client by broadcasting initial video for being switched to play updated view Frequently.
After mixed flow server is sent, video server receives updated video.Due to updated view Frequency includes reference identification as indicated by reference identification in acquisition instruction transmitted by client, thus video server continues The updated video is returned into client so that the video that client is played switched to by initial video it is updated The video content that video, i.e. client are played switchs to the content for the target video that main broadcaster end is pushed.
As can be seen that the above process is that channel room comes into play, until in multiple main broadcaster ends that management server is managed Any main broadcaster end pushes the process between target video to video server.After the main broadcaster end replacement in channel room, that is, After being changed to other main broadcaster ends by the main broadcaster end of push target video, can also through this embodiment provided by method realize The broadcasting of video.Next, referring to Fig. 3, to push the main broadcaster end of target video for main broadcaster end A, based on the main broadcaster end after replacement For broadcasting end B, method provided in this embodiment is illustrated:
In main broadcaster end B not to before video server pushing video, the video that mixed flow server is exported be it is above-mentioned more Video after new, the target video that the video that client is played is pushed by main broadcaster end A.Management server is by sending replacement Instruction controls after main broadcaster end A is switched to main broadcaster end B, is used to indicate main broadcaster end B to the transmission of mixed flow server and is pushed to video The mark of the video B of server, then mixed flow server obtains the video that main broadcaster end B is pushed from video server according to the mark B。
Later, mixed flow server updates above-mentioned updated video according to the video B that main broadcaster end B is pushed, i.e., will lead Broadcast the end video B that is pushed of B to splice after target video, obtain the video of secondary update, the video of the secondary update still by Indicated by reference identification.Then, mixed flow server sends the video of the secondary update to video server, then client can basis The reference identification that management server has been transmitted across obtains the video of the secondary update from video server, so that client institute The video of broadcasting is switched to the video B that main broadcaster end B is pushed by the target video that main broadcaster end A is pushed.
As can be seen that either the activity of channel room start after first main broadcaster start to be broadcast live or channel room in Main broadcaster's replacement, client pull the reference identification from video server by reference identification transmitted by management server always Indicated video all the way just can continuously play the video that different main broadcasters are pushed in client.And in the related art, visitor Family end pulls the video all the way that a main broadcaster end is pushed first, if main broadcaster end is replaced, client will also receive management service The notification information that device is sent pulls the another way video that the main broadcaster end after replacement is pushed according to notification information.Therefore, compared to The relevant technologies, the present embodiment are not only omitted the process that management server sends notification information to client, are omitted client End pulls the process for the video that the main broadcaster end after replacement is pushed according to notification information from video server again, so that objective The video that family end is played is more smooth, and fluency is higher, and result of broadcast is more preferable, to improve the usage experience of user.
Certainly, above description gets target video indicated by target identification only for video server in step 204 The case where.If failing at main broadcaster end pushes target video to video server, alternatively, main broadcaster end is in push target video Push is caused to be interrupted due to network etc. in the process, then video server obtains fall short mark according to target identification and refers to The target video shown, thus mixed flow server can not also be got indicated by target identification according to target identification from video server Target video.
For such situation, optionally, method provided in this embodiment further include: mixed flow server obtains reference video, Initial video is updated according to reference video, obtains alternate video, initial video and alternate video are indicated by reference identification.Mixed flow Server sends alternate video to video server.Video server receives the alternate video that mixed flow server is sent, with basis The acquisition instruction that client is sent sends alternate video to client, and client is for playing alternate video.
Wherein, reference video includes but is not limited to the promotional videos of the network direct broadcasting platform where channel room, passing time The videos such as the video that the main broadcaster in interior channel room pushed or the video for prompting user main broadcaster end to break down.Obtain ginseng After examining video, if the reason of causing mixed flow server to obtain fall short video fails for main broadcaster end to video server Target video is pushed, then mixed flow server can splice reference video after initial video, form alternate video.If causing to mix Streaming server breaks during obtaining the reason of fall short video as main broadcaster end push target video, then mixed flow server will join Video-splicing is examined after the target video that main broadcaster end has pushed, forms alternate video.Which kind of no matter carried out using above-mentioned mode Splicing, the alternate video and initial video are by indicated by reference identification.
After forming alternate video, alternate video is sent to video server by mixed flow server, video server according to The acquisition instruction that client is sent sends alternate video to client, so that the video that client is played is turned by initial video For alternate video.
As can be seen that the present embodiment is in the case where main broadcaster end, which is broken down, to push target video, client is remained to Alternate video is obtained from video server by reference to mark and is played out.Also, when main broadcaster end fault restoration pushes again After target video, client can continue through reference identification and pull target video, to ensure that the usage experience of user. In the related art, if main broadcaster end is broken down, client can not be played out due to obtaining less than video, and in main broadcaster After holding fault restoration, client also needs to pull target video according to notification information transmitted by management server again.Cause This, compared to the relevant technologies, method provided by the present embodiment also assures that client under the fault condition of main broadcaster end is played The fluency of video, to improve the usage experience of user.
In conclusion the video that the embodiment of the present application is pushed by mixed flow server according to main broadcaster end updates reference identification Indicated initial video enables client when main broadcaster end is replaced always according to reference identification from video server Obtain the mistake for being omitted that management server sends notification information and client pulls video according to notification information again with flowing all the way Journey, so that the video that client is played is more smooth, fluency is higher, result of broadcast more preferably, the usage experience of user Preferably.
Based on same idea, the embodiment of the present application provides a kind of device for playing video, and referring to fig. 4, which includes:
First receiving module 401, for receiving the target identification for being used to indicate target video of management server transmission, to Video server sends target identification, to obtain target video indicated by target identification from video server;
Update module 402 obtains updated video for updating initial video according to target video, initial video and Updated video is indicated by reference identification;
Sending module 403, for sending updated video to video server, video server is used for according to client The acquisition instruction of transmission sends updated video to client, so that the video that client is played is switched to more by initial video Video after new.
Optionally, device further include: the second receiving module, for receiving the instruction of starting broadcasting of management server transmission, according to Instruction of starting broadcasting to video server sends initial video, and the acquisition instruction that video server is used to be sent according to client is to client End sends initial video, so that client terminal playing initial video.
Optionally, update module 402, for after initial video, obtaining splicing video, spelling target video splicing Video is connect as updated video.
Optionally, device further include: module is obtained, if for not getting target from video server according to target identification The indicated target video of mark, obtains reference video, updates initial video according to reference video, obtains alternate video, initially Video and alternate video are indicated by reference identification;Alternate video is sent to video server, video server is used for according to visitor The acquisition instruction that family end is sent sends alternate video to client, so that client terminal playing alternate video.
In conclusion the video that the embodiment of the present application is pushed by mixed flow server according to main broadcaster end updates reference identification Indicated initial video enables client when main broadcaster end is replaced always according to reference identification from video server Obtain the mistake for being omitted that management server sends notification information and client pulls video according to notification information again with flowing all the way Journey, so that the video that client is played is more smooth, fluency is higher, result of broadcast more preferably, the usage experience of user Preferably.
Based on same idea, the embodiment of the present application provides a kind of device for playing video, and referring to Fig. 5, which includes:
First receiving module 501, for receiving the target identification for being used to indicate target video of mixed flow server transmission, root Target video indicated by target identification is obtained according to target identification;
Sending module 502, for sending target video to mixed flow server, mixed flow server is used for according to target video more New initial video obtains updated video;
Second receiving module 503, for receiving the updated video of mixed flow server transmission, to be sent according to client Acquisition instruction send updated video to client, client by broadcasting initial video for being switched to play updated view Frequently.
Optionally, device further include: third receiving module, for receiving the initial video of mixed flow server transmission, with root The acquisition instruction sent according to client sends initial video to client, and client is for playing initial video.
Optionally, device further include: the 4th receiving module, if for target identification meaning to have not been obtained according to target identification The target video shown receives the alternate video that mixed flow server is sent, and alternate video includes mixed flow server according to reference video The video that initial video obtains is updated, alternate video, client are sent to client with the acquisition instruction sent according to client For playing alternate video.
In conclusion the video that the embodiment of the present application is pushed by mixed flow server according to main broadcaster end updates reference identification Indicated initial video enables client when main broadcaster end is replaced always according to reference identification from video server Obtain the mistake for being omitted that management server sends notification information and client pulls video according to notification information again with flowing all the way Journey, so that the video that client is played is more smooth, fluency is higher, result of broadcast more preferably, the usage experience of user Preferably.
Based on same idea, the embodiment of the present application provides a kind of device for playing video, and referring to Fig. 6, which includes:
Module 601 is obtained, for obtaining the target identification for being used to indicate target video;
First sending module 602, for sending the target identification for being used to indicate target video, mixed flow clothes to mixed flow server Business device is used to obtain target video indicated by target identification from video server according to target identification, and according to target video It updates initial video and obtains updated video, so that the video that client is played switchs to updated view by initial video Frequently.
Optionally, device further include: the second sending module, for sending instruction of starting broadcasting to mixed flow server, so that mixed flow Server sends initial video to video server according to instruction is started broadcasting;
Third sending module is used to indicate initial view to client transmission if the playing request for receiving client The reference identification of frequency, client is used to send acquisition instruction to video server based on reference identification, to play reference identification institute The initial video of instruction.
In conclusion the video that the embodiment of the present application is pushed by mixed flow server according to main broadcaster end updates reference identification Indicated initial video enables client when main broadcaster end is replaced always according to reference identification from video server Obtain the mistake for being omitted that management server sends notification information and client pulls video according to notification information again with flowing all the way Journey, so that the video that client is played is more smooth, fluency is higher, result of broadcast more preferably, the usage experience of user Preferably.
It should be noted that device provided by the above embodiment is when realizing its function, only with above-mentioned each functional module It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution, The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition, Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this In repeat no more.
Referring to Fig. 7, it illustrates a kind of structural schematic diagrams for the terminal 700 for playing video provided by the embodiments of the present application. The terminal 700 can be portable mobile termianl, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, pen Remember this computer or desktop computer.Terminal 700 is also possible to referred to as user equipment, portable terminal, laptop terminal, terminal console Deng other titles.
In general, terminal 700 includes: processor 701 and memory 702.
Processor 701 may include one or more processing cores, such as 4 core processors, 7 core processors etc..Place Reason device 701 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 701 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 701 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 701 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 702 may include one or more computer readable storage mediums, which can To be non-transient.Memory 702 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 702 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 701 for realizing this Shen Please in embodiment of the method provide broadcasting video method.
In some embodiments, terminal 700 is also optional includes: peripheral device interface 703 and at least one peripheral equipment. It can be connected by bus or signal wire between processor 701, memory 702 and peripheral device interface 703.Each peripheral equipment It can be connected by bus, signal wire or circuit board with peripheral device interface 703.Specifically, peripheral equipment includes: radio circuit 704, at least one of display screen 705, CCD camera assembly 706, voicefrequency circuit 707, positioning component 708 and power supply 709.
Peripheral device interface 703 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 701 and memory 702.In some embodiments, processor 701, memory 702 and peripheral equipment Interface 703 is integrated on same chip or circuit board;In some other embodiments, processor 701, memory 702 and outer Any one or two in peripheral equipment interface 703 can realize on individual chip or circuit board, the present embodiment to this not It is limited.
Radio circuit 704 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates Frequency circuit 704 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 704 turns electric signal It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 704 wraps It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip Group, user identity module card etc..Radio circuit 704 can be carried out by least one wireless communication protocol with other terminals Communication.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 7G), wireless office Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 704 may be used also To include the related circuit of NFC (Near Field Communication, wireless near field communication), the application is not subject to this It limits.
Display screen 705 is for showing UI (User Interface, user interface).The UI may include figure, text, figure Mark, video and its their any combination.When display screen 705 is touch display screen, display screen 705 also there is acquisition to show The ability of the touch signal on the surface or surface of screen 705.The touch signal can be used as control signal and be input to processor 701 are handled.At this point, display screen 705 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or Soft keyboard.In some embodiments, display screen 705 can be one, and the front panel of terminal 700 is arranged;In other embodiments In, display screen 705 can be at least two, be separately positioned on the different surfaces of terminal 700 or in foldover design;In still other reality It applies in example, display screen 705 can be flexible display screen, be arranged on the curved surface of terminal 700 or on fold plane.Even, it shows Display screen 705 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 705 can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) Etc. materials preparation.
CCD camera assembly 706 is for acquiring image or video.Optionally, CCD camera assembly 706 include front camera and Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped Camera shooting function.In some embodiments, CCD camera assembly 706 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not With the light compensation under colour temperature.
Voicefrequency circuit 707 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will Sound wave, which is converted to electric signal and is input to processor 701, to be handled, or is input to radio circuit 704 to realize voice communication. For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 700 to be multiple.Mike Wind can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 701 or radio circuit will to be come from 704 electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 707 can also include Earphone jack.
Positioning component 708 is used for the current geographic position of positioning terminal 700, to realize navigation or LBS (Location Based Service, location based service).Positioning component 708 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 709 is used to be powered for the various components in terminal 700.Power supply 709 can be alternating current, direct current, Disposable battery or rechargeable battery.When power supply 709 includes rechargeable battery, which can support wired charging Or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 700 further includes having one or more sensors 710.The one or more sensors 710 include but is not limited to: acceleration transducer 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, Optical sensor 717 and proximity sensor 716.
The acceleration that acceleration transducer 710 can detecte in three reference axis of the coordinate system established with terminal 700 is big It is small.For example, acceleration transducer 711 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 701 can With the acceleration of gravity signal acquired according to acceleration transducer 711, touch display screen 705 is controlled with transverse views or longitudinal view Figure carries out the display of user interface.Acceleration transducer 711 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 712 can detecte body direction and the rotational angle of terminal 700, and gyro sensor 712 can To cooperate with acquisition user to act the 3D of terminal 700 with acceleration transducer 711.Processor 701 is according to gyro sensor 712 Following function may be implemented in the data of acquisition: when action induction (for example changing UI according to the tilt operation of user), shooting Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 705 in terminal 700 can be set in pressure sensor 713.Work as pressure When the side frame of terminal 700 is arranged in sensor 713, user can detecte to the gripping signal of terminal 700, by processor 701 Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 713 acquires.When the setting of pressure sensor 713 exists When the lower layer of touch display screen 705, the pressure operation of touch display screen 705 is realized to UI circle according to user by processor 701 Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu At least one of control.
Fingerprint sensor 714 is used to acquire the fingerprint of user, collected according to fingerprint sensor 714 by processor 701 The identity of fingerprint recognition user, alternatively, by fingerprint sensor 714 according to the identity of collected fingerprint recognition user.It is identifying When the identity of user is trusted identity out, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 701 Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Terminal can be set in fingerprint sensor 714 700 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 700, fingerprint sensor 714 can be with It is integrated with physical button or manufacturer Logo.
Optical sensor 717 is for acquiring ambient light intensity.In one embodiment, processor 701 can be according to optics The ambient light intensity that sensor 717 acquires controls the display brightness of touch display screen 705.Specifically, when ambient light intensity is higher When, the display brightness of touch display screen 705 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 705 is bright Degree.In another embodiment, the ambient light intensity that processor 701 can also be acquired according to optical sensor 717, dynamic adjust The acquisition parameters of CCD camera assembly 706.
Proximity sensor 716, also referred to as range sensor are generally arranged at the front panel of terminal 700.Proximity sensor 716 For acquiring the distance between the front of user Yu terminal 700.In one embodiment, when proximity sensor 716 detects use When family and the distance between the front of terminal 700 gradually become smaller, touch display screen 705 is controlled from bright screen state by processor 701 It is switched to breath screen state;When proximity sensor 716 detects user and the distance between the front of terminal 700 becomes larger, Touch display screen 705 is controlled by processor 701 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal 700 of structure shown in Fig. 7, can wrap It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
Based on same idea, the embodiment of the present application provide it is a kind of play video system, system include management server, Video server, mixed flow server and client, to realize any possible of the embodiment of the present application various aspects or various aspects The method of broadcasting video in embodiment.
Based on same idea, the embodiment of the present application provides a kind of equipment for playing video, and equipment includes memory and place Manage device;At least one instruction is stored in memory, at least one instruction is loaded and executed by processor, to realize the application reality The method for applying the broadcasting video in any possible embodiment of a various aspects or various aspects.
Based on same idea, the embodiment of the present application provides a kind of readable storage medium storing program for executing, is stored at least in storage medium One instruction, instruction are loaded by processor and are executed to realize any possible of the embodiment of the present application various aspects or various aspects The method of broadcasting video in embodiment.
All the above alternatives can form the alternative embodiment of the application, herein no longer using any combination It repeats one by one.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Above is only an example of the present application, all in spirit herein and principle not to limit the application Within, any modification, equivalent replacement, improvement and so on should be included within the scope of protection of this application.

Claims (20)

1. a kind of method for playing video, which is characterized in that the described method includes:
The target identification for being used to indicate target video that management server is sent is received, sends the target mark to video server Know, to obtain target video indicated by the target identification from the video server;
Initial video is updated according to the target video, obtains updated video, the initial video and described updated Video is indicated by reference identification;
The updated video is sent to the video server, the video server according to what client was sent for obtaining Instruction fetch sends the updated video to the client, so that the video that the client is played is by the initial view Frequency switchs to the updated video.
2. the method according to claim 1, wherein the reception management server transmission is used to indicate target Before the target identification of video, the method also includes:
The instruction of starting broadcasting that the management server is sent is received, according to the instruction of starting broadcasting to described in video server transmission Initial video, the acquisition instruction that the video server is used to be sent according to the client send described first to the client Beginning video, so that initial video described in the client terminal playing.
3. being obtained the method according to claim 1, wherein described update initial video according to the target video To updated video, comprising:
By target video splicing after the initial video, splicing video is obtained, using the splicing video as described in Updated video.
4. method according to claim 1 to 3, which is characterized in that the reception management server was sent is used to refer to After showing the target identification of target video, the method also includes:
If not getting target video indicated by the target identification from the video server according to the target identification, obtain Reference video is taken, the initial video is updated according to the reference video, obtains alternate video, the initial video and described standby It is indicated with video by the reference identification;
The alternate video is sent to the video server, the video server according to what the client was sent for obtaining Instruction fetch sends the alternate video to the client, so that alternate video described in the client terminal playing.
5. a kind of method for playing video, which is characterized in that the described method includes:
The target identification for being used to indicate target video that mixed flow server is sent is received, the mesh is obtained according to the target identification The indicated target video of mark mark;
The target video is sent to the mixed flow server, the mixed flow server is used to update just according to the target video Beginning video obtains updated video;
The updated video that the mixed flow server is sent is received, with the acquisition instruction that sends according to client to described Client sends the updated video, and the client is used to be switched to after playing the update by playing the initial video Video.
6. according to the method described in claim 5, it is characterized in that, the reception mixed flow server transmission is used to indicate target Before the target identification of video, the method also includes:
The initial video that the mixed flow server is sent is received, with the acquisition instruction that sends according to the client to described Client sends the initial video, and the client is for playing the initial video.
7. method according to claim 5 or 6, which is characterized in that described to receive being used to indicate for mixed flow server transmission After the target identification of target video, the method also includes:
If according to the target identification target identification has not been obtained indicated by target video, receive the mixed flow server The alternate video of transmission, the alternate video include that the mixed flow server is obtained according to the reference video update initial video Video, the alternate video, the client are sent to the client with the acquisition instruction that is sent according to the client For playing the alternate video.
8. a kind of method for playing video, which is characterized in that the described method includes:
Obtain the target identification for being used to indicate target video;
The target identification for being used to indicate target video is sent to mixed flow server, the mixed flow server is used for according to the target Mark obtains target video indicated by the target identification from video server, and is updated initially according to the target video Video obtains updated video, so that the video that client is played switchs to the updated view by the initial video Frequently.
9. according to the method described in claim 8, it is characterized in that, it is described obtain be used to indicate target video target identification it Before, the method also includes:
Instruction of starting broadcasting is sent to the mixed flow server, is instructed so that the mixed flow server starts broadcasting according to Video service Device sends the initial video;
If receiving the playing request of the client, Xiang Suoshu client sends the reference mark for being used to indicate the initial video Know, the client is used to send acquisition instruction to the video server based on the reference identification, to play the reference The indicated initial video of mark.
10. a kind of device for playing video, which is characterized in that described device includes:
First receiving module takes for receiving the target identification for being used to indicate target video of management server transmission to video Business device sends the target identification, to obtain target video indicated by the target identification from the video server;
Update module obtains updated video for updating initial video according to the target video, the initial video and The updated video is indicated by reference identification;
Sending module, for sending the updated video to the video server, the video server is used for basis The acquisition instruction that client is sent sends the updated video to the client, so that the view that the client is played Frequency switchs to the updated video by the initial video.
11. device according to claim 10, which is characterized in that described device further include:
Second receiving module, the instruction of starting broadcasting sent for receiving the management server are instructed according to described start broadcasting to described Video server sends the initial video, and the acquisition instruction that the video server is used to be sent according to the client is to institute It states client and sends the initial video, so that initial video described in the client terminal playing.
12. device according to claim 10, which is characterized in that the update module, for the target video to be spelled It connects after the initial video, splicing video is obtained, using the splicing video as the updated video.
13. according to any device of claim 9-12, which is characterized in that described device further include:
Module is obtained, if for not getting indicated by the target identification from the video server according to the target identification Target video, obtain reference video, the initial video updated according to the reference video, obtain alternate video, it is described just Beginning video and the alternate video are indicated by the reference identification;The alternate video, institute are sent to the video server It states acquisition instruction of the video server for sending according to the client and sends the alternate video to the client, so that Alternate video described in the client terminal playing.
14. a kind of device for playing video, which is characterized in that described device includes:
First receiving module, for receiving the target identification for being used to indicate target video of mixed flow server transmission, according to described Target identification obtains target video indicated by the target identification;
Sending module, for sending the target video to the mixed flow server, the mixed flow server is used for according to Target video updates initial video, obtains updated video;
Second receiving module, the updated video sent for receiving the mixed flow server, to be sent out according to client The acquisition instruction sent sends the updated video to the client, and the client is used for by playing the initial video Switch to play the updated video.
15. device according to claim 14, which is characterized in that described device further include:
Third receiving module, the initial video sent for receiving the mixed flow server, to be sent out according to the client The acquisition instruction sent sends the initial video to the client, and the client is for playing the initial video.
16. device according to claim 14 or 15, which is characterized in that described device further include:
4th receiving module, if for according to the target identification target identification has not been obtained indicated by target video, Receive the alternate video that the mixed flow server is sent, the alternate video include the mixed flow server according to reference video more The video that the new initial video obtains, it is described standby to client transmission with the acquisition instruction sent according to the client With video, the client is for playing the alternate video.
17. a kind of device for playing video, which is characterized in that described device includes:
Module is obtained, for obtaining the target identification for being used to indicate target video;
First sending module, for sending the target identification for being used to indicate target video, the mixed flow service to mixed flow server Device is used to obtain target video indicated by the target identification from video server according to the target identification, and according to institute It states target video update initial video and obtains updated video, so that the video that client is played is turned by the initial video For the updated video.
18. device according to claim 17, which is characterized in that described device further include:
Second sending module, for sending instruction of starting broadcasting to the mixed flow server, so that the mixed flow server is according to It starts broadcasting to instruct to video server and sends the initial video;
Third sending module, if the playing request for receiving the client, the transmission of Xiang Suoshu client is used to indicate institute The reference identification of initial video is stated, the client, which is used to send to obtain to the video server based on the reference identification, to be referred to It enables, to play initial video indicated by the reference identification.
19. a kind of equipment for playing video, which is characterized in that the equipment includes memory and processor;In the memory It is stored at least one instruction, at least one instruction is loaded and executed by the processor, to realize in claim 1-9 The method of any broadcasting video.
20. a kind of readable storage medium storing program for executing, which is characterized in that be stored at least one instruction, described instruction in the storage medium Loaded by processor and executed the method to realize the broadcasting video as described in any in claim 1-9.
CN201910361575.9A 2019-04-30 2019-04-30 Method, device and equipment for playing video and readable storage medium Active CN110099293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910361575.9A CN110099293B (en) 2019-04-30 2019-04-30 Method, device and equipment for playing video and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910361575.9A CN110099293B (en) 2019-04-30 2019-04-30 Method, device and equipment for playing video and readable storage medium

Publications (2)

Publication Number Publication Date
CN110099293A true CN110099293A (en) 2019-08-06
CN110099293B CN110099293B (en) 2021-06-01

Family

ID=67446538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910361575.9A Active CN110099293B (en) 2019-04-30 2019-04-30 Method, device and equipment for playing video and readable storage medium

Country Status (1)

Country Link
CN (1) CN110099293B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990126A (en) * 2009-08-07 2011-03-23 未序网络科技(上海)有限公司 Method for spotting advertisement in dynamic switching of internet on-demand or live broadcast signals
CN102158758A (en) * 2011-02-28 2011-08-17 四川长虹电器股份有限公司 Push system realization method based on digital television
CN102461194A (en) * 2009-06-17 2012-05-16 通用仪表公司 Insertion of recorded secondary digital video content during playback of primary digital video content
US20120314015A1 (en) * 2011-06-10 2012-12-13 Microsoft Corporation Techniques for multiple video source stitching in a conference room
US20150381677A1 (en) * 2012-07-18 2015-12-31 Opera Software Ireland Limited Just-in-Time Distributed Video Cache
CN106686397A (en) * 2016-12-31 2017-05-17 北京星辰美豆文化传播有限公司 Multi-person network broadcasting method and device and electronic equipment thereof
CN107995187A (en) * 2017-11-30 2018-05-04 上海哔哩哔哩科技有限公司 Video main broadcaster, live broadcasting method, terminal and system based on HTML5 browsers

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102461194A (en) * 2009-06-17 2012-05-16 通用仪表公司 Insertion of recorded secondary digital video content during playback of primary digital video content
CN101990126A (en) * 2009-08-07 2011-03-23 未序网络科技(上海)有限公司 Method for spotting advertisement in dynamic switching of internet on-demand or live broadcast signals
CN102158758A (en) * 2011-02-28 2011-08-17 四川长虹电器股份有限公司 Push system realization method based on digital television
US20120314015A1 (en) * 2011-06-10 2012-12-13 Microsoft Corporation Techniques for multiple video source stitching in a conference room
US20150381677A1 (en) * 2012-07-18 2015-12-31 Opera Software Ireland Limited Just-in-Time Distributed Video Cache
CN106686397A (en) * 2016-12-31 2017-05-17 北京星辰美豆文化传播有限公司 Multi-person network broadcasting method and device and electronic equipment thereof
CN107995187A (en) * 2017-11-30 2018-05-04 上海哔哩哔哩科技有限公司 Video main broadcaster, live broadcasting method, terminal and system based on HTML5 browsers

Also Published As

Publication number Publication date
CN110099293B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN107959860B (en) The method and apparatus of display live streaming list
CN108810576B (en) Live wheat-connecting method and device and storage medium
CN110267055B (en) Method, device and system for recommending live broadcast room, server, terminal and medium
CN104967902B (en) Video sharing method, apparatus and system
CN109982102A (en) The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end
CN110213608A (en) Show method, apparatus, equipment and the readable storage medium storing program for executing of virtual present
CN110267067A (en) Method, apparatus, equipment and the storage medium that direct broadcasting room is recommended
CN107888968A (en) Player method, device and the computer-readable storage medium of live video
CN111355974A (en) Method, apparatus, system, device and storage medium for virtual gift giving processing
CN108710496A (en) Configuration update method, device, equipment and the storage medium of application program
CN109660855A (en) Paster display methods, device, terminal and storage medium
CN109348247A (en) Determine the method, apparatus and storage medium of audio and video playing timestamp
CN109413453A (en) Video broadcasting method, device, terminal and storage medium
CN107896337B (en) Information popularization method and device and storage medium
CN110290392B (en) Live broadcast information display method, device, equipment and storage medium
CN110149332A (en) Live broadcasting method, device, equipment and storage medium
CN109803154A (en) Live broadcasting method, equipment and the storage medium of board game
CN110278464A (en) The method and apparatus for showing list
CN108174275A (en) Image presentation method, device and computer readable storage medium
CN110297917A (en) Live broadcasting method, device, electronic equipment and storage medium
CN108093307A (en) Obtain the method and system of played file
CN109657165A (en) Method for page jump and device
CN110213612A (en) Living broadcast interactive method, apparatus and storage medium
CN109922356A (en) Video recommendation method, device and computer readable storage medium
CN108174274A (en) Virtual objects presentation method, device and storage medium

Legal Events

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