CN109842804A - Processing method and server, the computer storage medium of audio, video data - Google Patents
Processing method and server, the computer storage medium of audio, video data Download PDFInfo
- Publication number
- CN109842804A CN109842804A CN201711192595.5A CN201711192595A CN109842804A CN 109842804 A CN109842804 A CN 109842804A CN 201711192595 A CN201711192595 A CN 201711192595A CN 109842804 A CN109842804 A CN 109842804A
- Authority
- CN
- China
- Prior art keywords
- audio
- video
- metamessage
- server
- live
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention discloses a kind of processing method of audio, video data and servers, computer storage medium, which comprises what first server reception client was sent checks request message for target audio-video document;The first server checks that request message parses to described, obtains the retrieval parameter of the target audio-video document, and the retrieval parameter includes at least: live streaming time parameter, live stream ID;The first server searches the metamessage of corresponding audio-video subfile based on the retrieval parameter in the database, and the index information of target audio-video document is generated based on the metamessage of the audio-video subfile found;The index information of the target audio-video document is sent to the client to the first server so that the client obtains corresponding target audio-video document based on the index information of the target audio-video document from second server plays out.
Description
Technical field
The present invention relates to the processing methods and server of audio-video processing technique more particularly to a kind of audio, video data, meter
Calculation machine storage medium.
Background technique
Live broadcast system is that a kind of realization main broadcaster pushes audio, video data and flows to live streaming cluster, and spectators draw sound view from live streaming cluster
The system that frequency data stream plays in real time.Live streaming is recorded and be can be realized: by the voice data stream and video data stream in live broadcast system
(referred to as audio and video data streams) are converted into audio-video document and store to VOD system.
Be broadcast live review when, need the audio-video document based on VOD system management, live streaming recording system will be broadcast live
Audio and video data streams (abbreviation live stream) record at after complete audio-video document storage arrive VOD system, it is seen then that program request system
The corresponding live stream of an audio-video document in system.It is broadcast live by VOD system when reviewing, there are the following problems: 1,
After live streaming, live streaming records manufactured audio-video document storage to VOD system, and user reviews live content by VOD system
When the granularity that accesses be an audio-video document, i.e., the content being once broadcast live, some period that cannot be accurate in live streaming.2,
During progress is broadcast live, the audio-video document of recording is broadcast live not generating and storing VOD system completely, user is not
Certain time can be obtained in current live in time reviews file.3, during progress is broadcast live, some view of time cannot be postponed
Content is seen live, i.e., some time before being switched to current time in real time starts to watch live content.
Summary of the invention
In order to solve the above technical problems, the embodiment of the invention provides a kind of processing method of audio, video data and services
Device, computer equipment.
The processing method of audio, video data provided in an embodiment of the present invention, comprising:
What first server reception client was sent checks request message, the target sound for target audio-video document
Video file is recorded to obtain by audio and video data streams of the third server to live streaming;
The first server checks that request message parses to described, obtains the retrieval of the target audio-video document
Parameter, the retrieval parameter include at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter is for characterizing
The target audio-video document to be viewed corresponding live streaming time;
The first server searches the member letter of corresponding audio-video subfile based on the retrieval parameter in the database
Breath, and the index information based on the metamessage of the audio-video subfile found generation target audio-video document;
The index information of the target audio-video document is sent to the client so that described by the first server
Client obtains corresponding target audio-video document based on the index information of the target audio-video document from second server
It plays out.
In the embodiment of the present invention, the method also includes:
During audio and video data streams of the third server to live streaming are recorded, the first server is from described
The third server is obtained in third server records the audio and video data streams and each audio-video subfile for generating
The live stream ID of metamessage and the audio and video data streams, wherein each audio-video that the third server is recorded
Subfile is stored in the second server;
The first server is straight by the metamessage of each audio-video subfile and the audio and video data streams
It broadcasts after stream ID is converted to the format that the database is supported and stores into the database, wherein the audio-video subfile
Metamessage includes at least: address information, temporal information.
In the embodiment of the present invention, the first server is based on the retrieval parameter and searches corresponding sound view in the database
The metamessage of frequency subfile, comprising:
The first server is based on the retrieval parameter, generates the inquiry request that the database is supported and is sent to institute
State database;
The first server receives the member for the audio-video subfile that the database is inquired based on the inquiry request
Information.
In the embodiment of the present invention, the live streaming time parameter in the retrieval parameter includes the first moment, the second moment,
In, first moment is used to indicate the initial time of the target audio-video document, and second moment is for indicating described
The end time of target audio-video document;
Correspondingly, the first server is based on the retrieval parameter and searches corresponding audio-video subfile in the database
Metamessage, comprising:
The first server searches corresponding sound according to the live stream ID in the retrieval parameter in the database
First metamessage set of video subfile;Wherein, member letter during recording is broadcast live, in the first metamessage set
Breath is updated with the process dynamics that live streaming is recorded;Member letter after live streaming terminates to record, in the first metamessage set
Breath immobilizes;
The first server is searched in the first metamessage set according to the temporal information in the retrieval parameter
The second metamessage set between first moment and second moment.
In the embodiment of the present invention, the live streaming time parameter in the retrieval parameter included the first moment, wherein described first
Moment is used to indicate the initial time of the target audio-video document;
Correspondingly, the first server is based on the retrieval parameter and searches corresponding audio-video subfile in the database
Metamessage, comprising:
The first server searches corresponding sound according to the live stream ID in the retrieval parameter in the database
First metamessage set of video subfile;
The first server is searched in the first metamessage set according to the temporal information in the retrieval parameter
The second metamessage set after first moment, wherein during recording is broadcast live, the second metamessage collection
The process dynamics update that metamessage in conjunction is recorded with live streaming;After live streaming terminates to record, the second metamessage collection
Metamessage in conjunction immobilizes.
Server provided in an embodiment of the present invention, comprising:
Receiving unit checks request message, the mesh for target audio-video document for receive client transmission
Mark with phonetic symbols video file is recorded to obtain by audio and video data streams of the third server to live streaming;
Resolution unit obtains the retrieval of the target audio-video document for checking that request message parses to described
Parameter, the retrieval parameter include at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter is for characterizing
The target audio-video document to be viewed corresponding live streaming time;
Searching unit, for searching the member letter of corresponding audio-video subfile in the database based on the retrieval parameter
Breath, and the index information based on the metamessage of the audio-video subfile found generation target audio-video document;
Transmission unit, for the index information of the target audio-video document to be sent to the client so that the visitor
Family end group in the index information of the target audio-video document obtained from second server corresponding target audio-video document into
Row plays.
In the embodiment of the present invention, the server further include:
Acquiring unit, for during audio and video data streams of the third server to live streaming are recorded, described
The member of each audio-video subfile that the third server is recorded the audio and video data streams and generated is obtained in three servers
The live stream ID of information and the audio and video data streams, wherein each audio-video that the third server is recorded
File is stored in the second server;
Converting unit, for by the live streaming of the metamessage of each audio-video subfile and the audio and video data streams
Stream ID stores after being converted to the format that the database is supported into the database, wherein the member of the audio-video subfile
Information includes at least: address information, temporal information.
In the embodiment of the present invention, the searching unit, comprising:
Subelement is generated, for being based on the retrieval parameter, generates the inquiry request that the database is supported;
Transmission sub-unit, for the inquiry request to be sent to the database;
Receiving subelement, for receiving the member for the audio-video subfile that the database is inquired based on the inquiry request
Information.
In the embodiment of the present invention, the live streaming time parameter in the retrieval parameter includes the first moment, the second moment,
In, first moment is used to indicate the initial time of the target audio-video document, and second moment is for indicating described
The end time of target audio-video document;
The searching unit, is specifically used for: according to the live stream ID in the retrieval parameter, searching in the database
First metamessage set of corresponding audio-video subfile;Wherein, during recording is broadcast live, the first metamessage set
In metamessage with live streaming record process dynamics update;After live streaming terminates to record, the first metamessage set
In metamessage immobilize;According to the temporal information in the retrieval parameter, position is searched in the first metamessage set
The second metamessage set between first moment and second moment.
In the embodiment of the present invention, the live streaming time parameter in the retrieval parameter included the first moment, wherein described first
Moment is used to indicate the initial time of the target audio-video document;
The searching unit, is specifically used for: according to the live stream ID in the retrieval parameter, searching in the database
First metamessage set of corresponding audio-video subfile;According to the temporal information in the retrieval parameter, at described first yuan
The second metamessage set being located at after first moment is searched in information aggregate, wherein during recording is broadcast live, institute
The metamessage in the second metamessage set is stated as the process dynamics that live streaming is recorded update;After live streaming terminates to record, institute
The metamessage stated in the second metamessage set immobilizes.
Computer storage medium provided in an embodiment of the present invention, is stored thereon with computer executable instructions, and feature exists
In the computer executable instructions realize the processing method of above-mentioned any audio, video data when being executed by processor.
In the technical solution of the embodiment of the present invention, what first server reception client was sent is directed to target audio-video document
Check that request message, the target audio-video document record by audio and video data streams of the third server to live streaming
It arrives;The first server checks that request message parses to described, obtains the retrieval parameter of the target audio-video document,
The retrieval parameter includes at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter is to be checked for characterizing
The target audio-video document the seen corresponding live streaming time;The first server is based on the retrieval parameter and searches in the database
The metamessage of corresponding audio-video subfile, and target sound view is generated based on the metamessage of the audio-video subfile found
The index information of frequency file;The index information of the target audio-video document is sent to the client by the first server
So that the client obtains corresponding target sound based on the index information of the target audio-video document from second server
Video file plays out.Using the technical solution of the embodiment of the present invention, realizes and a kind of customized review system (namely first
Server), by customized system of reviewing by live broadcast system (namely third server) and VOD system (namely second service
Device) it links in real time, it may be assumed that the customized member reviewed system and have recorded each audio-video subfile in live stream recording process
Information, be based on this, it is customized review system be user provide it is customized check request message, thus flexibly check be broadcast live in
Content.It can be realized according to checking that request message reviews the content of some period in live streaming after live streaming, it can also be with
Review the content of some period immediately while live streaming, can also realize has certain time relative to current real-time live broadcast
The live content of delay.The customized sky reviewing system and having filled up between live broadcast system and VOD system of the embodiment of the present invention
It is white, it provides customized parameter for user setting, reviews mode supplemented with VOD system is unexistent, improve the spirit reviewed
Activity.
Detailed description of the invention
Fig. 1 is the flow chart that scheme is reviewed in live streaming;
Fig. 2 is that the flow chart of scheme is reviewed in the customized live streaming of the embodiment of the present invention;
Fig. 3 is the flow diagram one of the processing method of the audio, video data of the embodiment of the present invention;
Fig. 4 is that the live stream of the embodiment of the present invention records the flow chart that VOD system is stored at audio-video document;
Fig. 5 is the recording schematic diagram of the embodiment of the present invention;
Fig. 6 is that the metamessage of the embodiment of the present invention is synchronized to the customized flow chart for reviewing system;
Fig. 7 is the metamessage of the embodiment of the present invention and the flow chart of live stream ID write-in database;
Fig. 8 is that the customized of the embodiment of the present invention reviews flow chart;
Fig. 9 is the flow diagram two of the processing method of the audio, video data of the embodiment of the present invention;
Figure 10 is the flow diagram three of the processing method of the audio, video data of the embodiment of the present invention;
Figure 11 is the structure composition schematic diagram of the server of the embodiment of the present invention;
Figure 12 is the structure composition schematic diagram of the computer equipment of the embodiment of the present invention.
Specific embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, with reference to the accompanying drawing to this hair
The realization of bright embodiment is described in detail, appended attached drawing purposes of discussion only for reference, is not used to limit the embodiment of the present invention.
The following are the explanations of the relevant Key Term of the embodiment of the present invention:
Live broadcast system: real-time video push and dissemination system based on RTMP realize that main broadcaster pushes audio, video data and flows to
Cluster, the system that spectators draw audio and video data streams to play in real time from live streaming cluster is broadcast live.
Live stream a: direct broadcast band in live broadcast system, the i.e. audio and video data streams of main broadcaster push.
VOD system: the storage of audio-video document, transcoding, management, the cluster downloaded and reviewed.
Recording system is broadcast live: by the voice data stream and video data stream (referred to as audio and video data streams) in live broadcast system
It is converted into audio-video document and stores the cluster for arriving VOD system.
Live streaming is recorded: by live stream voice data stream and video data stream be mixed into the process of audio-video document.
Live streaming is reviewed: the process that the audio-video document generated passes through player plays is recorded in live streaming.The file reviewed and
URL can be obtained from VOD system, can also be obtained from customized system of reviewing.
Audio-video document: the file of storage audio data and video data, common audio-video document format have Dynamic Graph
As expert group 4 (MP4, Moving Picture Experts Group 4), stream media format (FLV, Flash Video), height
Grade audio coding (AAC, Advanced Audio Coding), dynamic image expert's compression standard audio level 3 (MP3,
Moving Picture Experts Group Audio Layer III), transport stream (TS, Transport Stream) etc..
The metamessage of audio-video document: for describing the information of audio-video document content, format including audio-video document,
Playing duration, URL etc..
Main broadcaster: the user of audio and video data streams is pushed in a direct broadcast band.
Spectators: the user of the audio and video data streams of main broadcaster's push is watched in a direct broadcast band.
Live stream ID:Stream ID, the ID of a live stream (namely direct broadcast band) in live broadcast system.
URL:Uniform/Universal Resource Locator, uniform resource locator.
RTMP:Real-Time Messaging Protocol, real-time messages transport protocol.Common live streaming agreement, is used
In transmission audio and video data streams in real time.
HTTP:HyperText Transfer Protocol, hypertext transfer protocol are widely used in internet
Agreement.
KV database: the database being made of the dictionary that key (Key), value (Value) map.Common KV database has:
redis、leveldb。
Customized system of reviewing: a variety of customized server clusters reviewed are realized, are asked according to customized review of user
Ask dynamic state of parameters generate it is different review file and return to user's players review.
Fig. 1 is the flow chart that scheme is reviewed in live streaming, as shown in Figure 1, main broadcaster pushes audio and video data streams, namely live streaming flows to
Live broadcast system, spectators can pull live stream from live broadcast system and be played in real time.Live stream is pushed to live broadcast system in main broadcaster
While, live streaming recording system pulls real-time live stream from live broadcast system, and after live streaming, live stream is saved into one
Complete audio-video document storage is into VOD system.In this way, user can obtain audio-video document from VOD system, from
And it realizes live streaming and reviews.It is the audio-video document based on storing in VOD system that this live streaming, which is reviewed, and user passes through VOD system
The granularity accessed when reviewing live content is an audio-video document, i.e., the content being once broadcast live cannot be accurate in live streaming
Some period.In addition, the audio-video document that recording is broadcast live completely is generated and is stored during progress is broadcast live
VOD system, what user cannot obtain some period in current live in time reviews file.It can not be to postpone some time
Live content is watched, i.e., some time before being switched to current time in real time starts to watch live content.
For this purpose, the embodiment of the present invention propose it is a kind of based on live streaming recording system and the customized of VOD system review scheme,
As shown in Fig. 2, Fig. 2 is that the flow chart of scheme is reviewed in the customized live streaming of the embodiment of the present invention, and in Fig. 2, first server generation
Table is customized to review system, and second server represents VOD system, and third server represents live streaming recording system, the 4th server
Live broadcast system is represented, the server being previously mentioned in the embodiment of the present invention can refer to a server, may also mean that multiple clothes
The server cluster of business device composition.Audio and video data streams when being broadcast live a series of sound is converted by live streaming recording system to regard
Frequency subfile is simultaneously stored to VOD system, while the metamessage of each audio-video subfile and corresponding Stream ID etc. being flowed
Synchronizing information reviews system to customized.It is customized to review system these metamessages are saved in KV database, and entire
These metamessages are constantly updated during live streaming.When user needs to review live content, sends and join with customized retrieval
The HTTP request of number (such as live streaming time parameter, live stream ID) reviews system to customized, and customized system analysis of reviewing obtains
To the customized retrieval parameter of user, the metamessage stored in request inquiry KV database is constructed according to these retrieval parameters, and
User is returned to according to the index information that the metamessage dynamic generation inquired reviews file, user obtains after index is believed in program request
It is found in system and reviews file accordingly and play out, customized review scheme to realize.
Based on it is above-mentioned it is customized review scheme, the embodiment of the present invention accordingly provides a kind of processing side of audio, video data
Method.Fig. 3 is the flow diagram one of the processing method of the audio, video data of the embodiment of the present invention, as shown in figure 3, the audio-video
The processing methods of data the following steps are included:
Step 301: what first server reception client was sent checks request message, institute for target audio-video document
Target audio-video document is stated to be recorded to obtain by audio and video data streams of the third server to live streaming.
In the embodiment of the present invention, first server represent it is customized review system, second server represents VOD system,
Three servers represent live streaming recording system, and the 4th server represents live broadcast system, the server being previously mentioned in the embodiment of the present invention
It can refer to a server, may also mean that the server cluster of multiple server compositions.
In the embodiment of the present invention, client refers to player, can be played in following file at least by the player
One of: audio file, video file, audio-video document.Realize that the hardware carrier of client can be any type of terminal, example
Such as mobile phone, tablet computer, laptop, smart television.
It is described during audio and video data streams of the third server to live streaming are recorded in the embodiment of the present invention
First server obtains the third server from the third server and records the audio and video data streams and generate each
The metamessage of a audio-video subfile and the live stream ID of the audio and video data streams, wherein the third server is recorded
Obtained each audio-video subfile is stored in the second server;
The first server is straight by the metamessage of each audio-video subfile and the audio and video data streams
It broadcasts after stream ID is converted to the format that the database is supported and stores into the database, wherein the audio-video subfile
Metamessage includes at least: address information, temporal information.
Specifically, it is recorded referring to the live stream that Fig. 4, Fig. 4 are the embodiment of the present invention and is stored in VOD system at audio-video document
Flow chart, in Fig. 4, have n direct broadcast band, respectively direct broadcast band (1), direct broadcast band (2) ..., direct broadcast band
(n), live streaming recording system draws live stream from live broadcast system, is recorded (referred to as live streaming is recorded), live streaming record to live stream
System processed records the live stream of n direct broadcast band respectively, is known as being broadcast live to the recording of direct broadcast band (1) and records (1), right
The recording of direct broadcast band (2), which is known as being broadcast live, records (2), and so on, the recording of direct broadcast band (n) is known as being broadcast live and records (n),
The recording of the live stream of each channel is mutually indepedent, does not interfere with each other.It is only explained by taking the recording of a live stream as an example below
Illustrate, recording system is broadcast live during recording to live stream, the live stream pulled from live broadcast system is continuous
A series of audio-video document is recorded into, the audio-video document of this some column is known as audio-video subfile by the embodiment of the present invention,
Then, this series of audio-video subfile is constantly stored in VOD system.
Specifically, it as shown in figure 5, in the t0-t1 period, is recorded from live stream and obtains audio-video subfile 1, in t1-
The t2 period then records from live stream and obtains audio-video subfile 2, in the t2-t3 period, then records from live stream
Audio-video subfile 3 is obtained, so live stream is recorded in real time, a series of audio-videos continuous in time can be obtained
Subfile.The time cycle of recording can generate an audio-video subfile with flexible setting, such as recording in every 2 minutes.Hereafter, will
In the audio-video subfile deposit VOD system that real-time recording obtains.
During live streaming recording system records live stream, the metamessage of each audio-video subfile can be generated
And the live stream ID of corresponding audio and video data streams, here, the metamessage of audio-video subfile includes audio-video subfile:
Address information, temporal information, wherein address information refers to storage address of the audio-video subfile in VOD system, such as
URL.Temporal information refers to the live streaming time of audio-video subfile, such as the temporal information of the audio-video subfile 2 in Fig. 5 is t2
And t3.The live stream ID of audio and video data streams namely refer to the corresponding live stream ID of audio-video subfile.Certainly, audio-video Ziwen
The metamessage of part can also include other more information, such as file format information, document No. information etc..
Referring to Fig. 6, Fig. 6 is that the metamessage of the embodiment of the present invention is synchronized to the customized flow chart for reviewing system, customized
It reviews system and collects the live stream ID of each channel and the metamessage of audio-video subfile from live streaming recording system.In order to distinguish
Different channels, it is customized review in system by it is customized review (1) indicate from live streaming record (1) in get it is straight
The metamessage for broadcasting stream ID and audio-video subfile, by it is customized review (2) indicate from live streaming record (2) in get it is straight
Broadcast the metamessage of stream ID and audio-video subfile, and so on, by it is customized review (n) indicate from live streaming record (n) in
The metamessage of the live stream ID and audio-video subfile that get.During live streaming, live streaming recording system records live streaming
A series of metamessage of the audio-video subfiles generated in the process and corresponding continual be synchronized to of live stream ID are made by oneself
Justice reviews system.
The flow chart of database, this example are written referring to the metamessage and live stream ID that Fig. 7, Fig. 7 are the embodiment of the present invention
In, customized system of reviewing is a stateless cluster, it may be assumed that customized system of reviewing does not record each audio-video subfile
Contextual information, therefore, when customized review when system gets live streaming recording system synchronous information needs these information
It concentrates and saves.In the present embodiment, use key-value pair (KV) database as the storage repository of data, it is customized to review in system
Any one server (a corresponding direct broadcast band) has received the metamessage of the synchronous audio-video subfile of live streaming recording system
When with live stream ID, these information are just adjusted to meet the data format of KV database purchase by customized system of reviewing, then
The live stream ID of live stream and the metamessage of audio-video subfile adjusted are mapped to Key-Value dictionary pair, finally will
Key-Value dictionary is to being written in KV database, to realize the storage of the metamessage to audio-video subfile.
Based on it is above it is customized review that system can provide customized audio-video document for client check request.
Specifically, the audio-video document (namely customized audio-video document) that client wants to be played is known as target sound
Video file is sent to customized system of reviewing for target audio-video document when client request target audio-video document
Check request message, in this way, it is customized review that system receives that client sends ask for checking for target audio-video document
Seek message.
When concrete application, customized review is interacted between system and client based on HTTP, is based on this, and customized time
See that system receives the HTTP request that client is sent, this HTTP request is to check that request disappears for target audio-video document
Breath.
Step 302: the first server checks that request message parses to described, obtains the target audio-video text
The retrieval parameter of part, the retrieval parameter include at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter
For characterizing the target audio-video document to be viewed corresponding live streaming time.
In the embodiment of the present invention, customized the looking into for target audio-video document reviewed system and receive client transmission
It after seeing request message, checks that request message parses to described, obtains the retrieval parameter of the target audio-video document, it is described
Retrieval parameter includes at least: live streaming time parameter, live stream ID.
Here, the effect of retrieval parameter is the metamessage for inquiring corresponding audio-video subfile in the database.
Thus, time parameter and live stream ID is at least broadcast live in parameter included by retrieval parameter.
Step 303: the first server is based on the retrieval parameter and searches corresponding audio-video Ziwen in the database
The metamessage of part, and believed based on the index that the metamessage of the audio-video subfile found generates target audio-video document
Breath.
In the embodiment of the present invention, the first server is based on the retrieval parameter, generates looking into for the database support
It askes request Concurrency and gives the database;The first server receives what the database was inquired based on the inquiry request
The metamessage of audio-video subfile.
By database be KV database for, KV database have query function, the query function of Yao Shixian KV database,
It needs to construct the inquiry request of KV database support and is sent to KV database, here, the inquiry request constructed need to be based on inspection
Rope parameter is constructed, in this way, KV data base querying can be made to the member of audio-video subfile corresponding with retrieval parameter
Information.Then, KV database reviews the metamessage of the audio-video subfile inquired by inquiry response backspace to customized
System.
It is customized review the metamessage that system gets audio-video subfile after, based on the audio-video subfile member letter
Breath generates the index information of target audio-video document.Here, customized system of reviewing may get multiple audio-video subfiles
Metamessage, such as: live streaming time parameter in retrieval parameter is t0, t2, wherein the starting of t0 expression target audio-video document
Time, t2 indicate the termination time of target audio-video document, then, customized system of reviewing gets audio-video subfile 1
The metamessage of metamessage and audio-video subfile 2, wherein include its corresponding time letter in the metamessage of audio-video subfile 1
Breath and address information include its corresponding temporal information and address information in the metamessage of audio-video subfile 2.Again for example: inspection
Live streaming time parameter in rope parameter is t1, wherein t1 indicates the initial time of target audio-video document, then, customized time
The system of seeing gets the metamessage of audio-video subfile 2, the metamessage of audio-video subfile 3 and is located at audio-video on the time
The metamessage of the later each audio-video subfile of file 3.
In the embodiment of the present invention, after the metamessage for getting the corresponding each audio-video subfile of target audio-video document,
Metamessage based on each audio-video subfile generates the index information of target audio-video document, here, target audio-video
The index information of file can by but embody in a manner of being not limited to through address.
Step 304: the index information of the target audio-video document is sent to the client by the first server
So that the client obtains corresponding target sound based on the index information of the target audio-video document from second server
Video file plays out.
It is customized to review system the index information of the target audio-video document of generation is sent to institute in the embodiment of the present invention
Client is stated, in this way, client can obtain accordingly according to the index information of target audio-video document from second server
Target audio-video document plays out.
Referring to Fig. 8, Fig. 8 is that the customized of the embodiment of the present invention reviews flow chart, and while live streaming or live streaming terminates
Afterwards, when client wants will review live content, client sends HTTP request and reviews system to customized, takes in HTTP request
With customized retrieval parameter, comprising: Stream ID of live stream, the live streaming time parameter of relatively current time and/or absolutely
The parameter informations such as time parameter are broadcast live.It is customized to review after any one server receives HTTP request in system, parsing retrieval
Parameter simultaneously carries out legitimacy verifies, and the legal retrieval parameter parsed is then configured to inquiry request and is sent to KV data
Library, after KV database returns to the metamessage of the audio-video subfile of its preservation, customized system of reviewing is according to these audio-videos
The metamessage of subfile is dynamically generated the index information for the audio-video document that client wants to be reviewed and returns to client, visitor
Family end gets corresponding audio-video document according to index information from VOD system and plays out, to realize that live streaming is reviewed.
The technical solution of the embodiment of the present invention provides that a kind of customized degree is higher to review mode, can support any
The live streaming of period is reviewed, and can also be seen live with postponing some view of time, having broken must can just review after live streaming terminates
Limitation, filled up the blank between live broadcast system and VOD system.
Fig. 9 is the flow diagram two of the processing method of the audio, video data of the embodiment of the present invention, as shown in figure 9, described
The processing method of audio, video data the following steps are included:
Step 901: what first server reception client was sent checks request message, institute for target audio-video document
Target audio-video document is stated to be recorded to obtain by audio and video data streams of the third server to live streaming.
In the embodiment of the present invention, first server represent it is customized review system, second server represents VOD system,
Three servers represent live streaming recording system, and the 4th server represents live broadcast system, the server being previously mentioned in the embodiment of the present invention
It can refer to a server, may also mean that the server cluster of multiple server compositions.
In the embodiment of the present invention, client refers to player, can be played in following file at least by the player
One of: audio file, video file, audio-video document.Realize that the hardware carrier of client can be any type of terminal, example
Such as mobile phone, tablet computer, laptop, smart television.
When concrete application, customized review is interacted between system and client based on HTTP, is based on this, and customized time
See that system receives the HTTP request that client is sent, this HTTP request is to check that request disappears for target audio-video document
Breath.
Step 902: the first server checks that request message parses to described, obtains the target audio-video text
The retrieval parameter of part, the retrieval parameter include at least: live streaming time parameter, live stream ID, wherein time parameter, which is broadcast live, includes
First moment, the second moment, wherein first moment is used to indicate the initial time of the target audio-video document, described
Second moment was used to indicate the end time of the target audio-video document.
In the embodiment of the present invention, customized the looking into for target audio-video document reviewed system and receive client transmission
It after seeing request message, checks that request message parses to described, obtains the retrieval parameter of the target audio-video document, it is described
Retrieval parameter includes at least: live streaming time parameter, live stream ID.Here, the effect of retrieval parameter is for looking into the database
Ask the metamessage of corresponding audio-video subfile.Thus, parameter included by retrieval parameter be at least broadcast live time parameter and
Live stream ID.
In an application scenarios, after live streaming, client to it is customized review system and have sent check request message,
At this moment, client can request to review the content of some period in live streaming, at this moment, in retrieval parameter need the period
Initial time (namely first moment) and end time (namely second moment).
In another application scene, during live streaming, client to it is customized review system and have sent check that request disappears
Breath, at this moment, client can also request the content for reviewing some period in live streaming at this moment to need this in retrieval parameter
The initial time (namely first moment) and end time (namely second moment) of period.
Step 903: the first server is searched in the database according to the live stream ID in the retrieval parameter
First metamessage set of corresponding audio-video subfile;Wherein, during recording is broadcast live, the first metamessage set
In metamessage with live streaming record process dynamics update;After live streaming terminates to record, the first metamessage set
In metamessage immobilize.
By database be KV database for, KV database have query function, the query function of Yao Shixian KV database,
It needs to construct the inquiry request of KV database support and is sent to KV database, here, the inquiry request constructed need to be based on inspection
Rope parameter is constructed, in this way, KV data base querying can be made to the member of audio-video subfile corresponding with retrieval parameter
Information.Then, KV database reviews the metamessage of the audio-video subfile inquired by inquiry response backspace to customized
System.
In the embodiment of the present invention, all metamessages stored in database can be divided into according to corresponding live stream ID
Different set is based on this, can search in the database corresponding first yuan of letter first according to the live stream ID in retrieval parameter
Breath is gathered, and all metamessages in the first metamessage set correspond to identical live stream ID, live stream ID namely retrieval ginseng
Live stream ID in number.
In an application scenarios, after live streaming, client to it is customized review system and have sent check request message,
At this moment, the metamessage stored end in the first metamessage set, so the metamessage in the first metamessage set is fixed not
Become.
In another application scene, during live streaming, client to it is customized review system and have sent check that request disappears
Breath, at this moment, the metamessage in the first metamessage set are also updated in the process dynamics recorded with live streaming.
Step 904: the first server is according to the temporal information in the retrieval parameter, in the first metamessage collection
The second metamessage set between first moment and second moment is searched in conjunction.
In the embodiment of the present invention, metamessage includes temporal information, can be from first based on the temporal information in metamessage
The second metamessage set between first moment and second moment is searched in metamessage set.
Such as: the live streaming time parameter in retrieval parameter is t0, t2, wherein the starting of t0 expression target audio-video document
Time, t2 indicate the termination time of target audio-video document, it is assumed that the metamessage for including in the first metamessage set is metamessage 1
(t0-t1), metamessage 2 (t1-t2), metamessage 3 (t2-t3), then, the metamessage that the second metamessage set includes has metamessage
1 (t0-t1), metamessage 2 (t1-t2).As shown in figure 5, it is customized review system get audio-video subfile 1 metamessage and
The metamessage of audio-video subfile 2.
Step 905: the first server generates target sound based on the metamessage of the audio-video subfile found
The index information of video file.
In the embodiment of the present invention, after the metamessage for getting the corresponding each audio-video subfile of target audio-video document,
Metamessage based on each audio-video subfile generates the index information of target audio-video document, here, target audio-video
The index information of file can by but embody in a manner of being not limited to through address.
Step 906: the index information of the target audio-video document is sent to the client by the first server
So that the client obtains corresponding target sound based on the index information of the target audio-video document from second server
Video file plays out.
It is customized to review system the index information of the target audio-video document of generation is sent to institute in the embodiment of the present invention
Client is stated, in this way, client can obtain accordingly according to the index information of target audio-video document from second server
Target audio-video document plays out.
The technical solution of the embodiment of the present invention provides that a kind of customized degree is higher to review mode, can support any
The live streaming of period is reviewed, and can also be seen live with postponing some view of time, having broken must can just review after live streaming terminates
Limitation, filled up the blank between live broadcast system and VOD system.
Figure 10 is the flow diagram three of the processing method of the audio, video data of the embodiment of the present invention, as shown in Figure 10, institute
State the processing method of audio, video data the following steps are included:
Step 1001: what first server reception client was sent checks request message for target audio-video document,
The target audio-video document is recorded to obtain by audio and video data streams of the third server to live streaming.
In the embodiment of the present invention, first server represent it is customized review system, second server represents VOD system,
Three servers represent live streaming recording system, and the 4th server represents live broadcast system, the server being previously mentioned in the embodiment of the present invention
It can refer to a server, may also mean that the server cluster of multiple server compositions.
In the embodiment of the present invention, client refers to player, can be played in following file at least by the player
One of: audio file, video file, audio-video document.Realize that the hardware carrier of client can be any type of terminal, example
Such as mobile phone, tablet computer, laptop, smart television.
When concrete application, customized review is interacted between system and client based on HTTP, is based on this, and customized time
See that system receives the HTTP request that client is sent, this HTTP request is to check that request disappears for target audio-video document
Breath.
Step 1002: the first server checks that request message parses to described, obtains the target audio-video
The retrieval parameter of file, the retrieval parameter include at least: live streaming time parameter, live stream ID, wherein live streaming time parameter packet
Included for the first moment, wherein first moment is used to indicate the initial time of the target audio-video document.
In the embodiment of the present invention, customized the looking into for target audio-video document reviewed system and receive client transmission
It after seeing request message, checks that request message parses to described, obtains the retrieval parameter of the target audio-video document, it is described
Retrieval parameter includes at least: live streaming time parameter, live stream ID.Here, the effect of retrieval parameter is for looking into the database
Ask the metamessage of corresponding audio-video subfile.Thus, parameter included by retrieval parameter be at least broadcast live time parameter and
Live stream ID.
In an application scenarios, after live streaming, client to it is customized review system and have sent check request message,
At this moment, at this moment client, which can request to review the full content after some time in live streaming, needs this in retrieval parameter
Time (namely first moment).
In another application scene, during live streaming, client to it is customized review system and have sent check that request disappears
Breath, at this moment, client can also request to review the full content (namely delay live streaming) after some time in live streaming, this
When, the time (namely first moment) is needed in retrieval parameter.
Step 1003: the first server is looked into the database according to the live stream ID in the retrieval parameter
Look for the first metamessage set of corresponding audio-video subfile.
By database be KV database for, KV database have query function, the query function of Yao Shixian KV database,
It needs to construct the inquiry request of KV database support and is sent to KV database, here, the inquiry request constructed need to be based on inspection
Rope parameter is constructed, in this way, KV data base querying can be made to the member of audio-video subfile corresponding with retrieval parameter
Information.Then, KV database reviews the metamessage of the audio-video subfile inquired by inquiry response backspace to customized
System.
In the embodiment of the present invention, all metamessages stored in database can be divided into according to corresponding live stream ID
Different set is based on this, can search in the database corresponding first yuan of letter first according to the live stream ID in retrieval parameter
Breath is gathered, and all metamessages in the first metamessage set correspond to identical live stream ID, live stream ID namely retrieval ginseng
Live stream ID in number.
In an application scenarios, after live streaming, client to it is customized review system and have sent check request message,
At this moment, the metamessage stored end in the first metamessage set, so the metamessage in the first metamessage set is fixed not
Become.
In another application scene, during live streaming, client to it is customized review system and have sent check that request disappears
Breath, at this moment, the metamessage in the first metamessage set are also updated in the process dynamics recorded with live streaming.
Step 1004: the first server is according to the temporal information in the retrieval parameter, in first metamessage
The second metamessage set being located at after first moment is searched in set, wherein be broadcast live record during, described the
The process dynamics update that metamessage in binary information set is recorded with live streaming;After live streaming terminates to record, described the
Metamessage in binary information set immobilizes.
In the embodiment of the present invention, metamessage includes temporal information, can be from first based on the temporal information in metamessage
The second metamessage set being located at after first moment is searched in metamessage set.
Such as: the live streaming time parameter in retrieval parameter is t1, wherein when t1 indicates the starting of target audio-video document
Between, it is assumed that the metamessage for including in the first metamessage set is metamessage 1 (t0-t1), metamessage 2 (t1-t2), metamessage 3
(t2-t3), then, the metamessage that the second metamessage set includes has metamessage 2 (t1-t2), metamessage 3 (t2-t3).Such as Fig. 5
It is shown, customized metamessage and the time reviewed system and get the metamessage and audio-video subfile 3 of audio-video subfile 2
The metamessage of the upper audio-video subfile later positioned at audio-video subfile 3.
Step 1005: the first server generates target sound based on the metamessage of the audio-video subfile found
The index information of video file.
In the embodiment of the present invention, after the metamessage for getting the corresponding each audio-video subfile of target audio-video document,
Metamessage based on each audio-video subfile generates the index information of target audio-video document, here, target audio-video
The index information of file can by but embody in a manner of being not limited to through address.
Step 1006: the index information of the target audio-video document is sent to the client by the first server
So that the client obtains corresponding target sound based on the index information of the target audio-video document from second server
Video file plays out.
It is customized to review system the index information of the target audio-video document of generation is sent to institute in the embodiment of the present invention
Client is stated, in this way, client can obtain accordingly according to the index information of target audio-video document from second server
Target audio-video document plays out.
The technical solution of the embodiment of the present invention provides that a kind of customized degree is higher to review mode, can support any
The live streaming of period is reviewed, and can also be seen live with postponing some view of time, having broken must can just review after live streaming terminates
Limitation, filled up the blank between live broadcast system and VOD system.
The technical solution of the embodiment of the present invention is described again below in conjunction with using example.
Example one
Assuming that live streaming recording system records the audio and video data streams of live streaming since 7:00, recorded every 1 minute
One audio-video subfile, and store in VOD system successively, in 7:05, recording obtains 5 audio-video subfiles, 7:
When 10, recording obtains 10 audio-video subfiles.At the same time, the customized member reviewed system and obtain each audio-video subfile
Information, it is assumed that current time 7:10 can obtain the corresponding metamessage of 10 audio-video subfiles in 7:10, according to the time
By the early sequence to evening, the metamessage of this 10 audio-video subfiles can be expressed as follows: metamessage 1 (7:00-7:01), metamessage
2 (7:01-7:02), metamessage 3 (7:02-7:03), metamessage 4 (7:03-7:04), metamessage 5 (7:04-7:05), metamessage 6
(7:05-7:06), metamessage 7 (7:06-7:07), metamessage 8 (7:07-7:08), metamessage 9 (7:08-7:09), metamessage 19
(7:09-7:10).When user, which wants to review 7:05, starts the audio-video document played, the setting live streaming time in retrieval parameter
Parameter is 7:05, in this manner it is possible to which the metamessage based on each audio-video subfile, determines the audio-video document for wanting to review
Index address, it may be assumed that the corresponding index address of metamessage 6 (7:05-7:06), user can watch since 7:05 play back sound
Video file.
Example two
Assuming that live streaming recording system records the audio and video data streams of live streaming since 7:00, record at intervals of two minutes
One audio-video subfile, and store in VOD system successively, in 7:06, recording obtains 3 audio-video subfiles, 7:
When 10, recording obtains 5 audio-video subfiles.At the same time, the customized member reviewed system and obtain each audio-video subfile
Information, it is assumed that current time 7:10 can obtain the corresponding metamessage of 5 audio-video subfiles in 7:10, according to the time
By the early sequence to evening, the metamessage of this 5 audio-video subfiles can be expressed as follows: metamessage 1 (7:00-7:02), metamessage 2
(7:02-7:04), metamessage 3 (7:04-7:06), metamessage 4 (7:06-7:08), metamessage 5 (7:08-7:10).When user thinks
When reviewing 7:05 and starting the audio-video document played, setting live streaming time parameter is 7:05 in retrieval parameter, based on each
The metamessage of audio-video subfile determines that 7:05 is located at the corresponding period of metamessage 3, i.e., (7:04-7:06) at this moment can
To determine the index address for the audio-video document for wanting to review, it may be assumed that the corresponding index address of metamessage 3 (7:04-7:06) is used
Family can watch the audio-video document played back since 7:04.
Figure 11 is the structure composition schematic diagram of the server of the embodiment of the present invention, and as shown in figure 11, the server includes:
Receiving unit 1101 checks request message, institute for target audio-video document for receive client transmission
Target audio-video document is stated to be recorded to obtain by audio and video data streams of the third server to live streaming;
Resolution unit 1102 obtains the target audio-video document for checking that request message parses to described
Retrieval parameter, the retrieval parameter include at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter is used for
Characterize the target audio-video document to be viewed corresponding live streaming time;
Searching unit 1103, for searching the member of corresponding audio-video subfile in the database based on the retrieval parameter
Information, and the index information based on the metamessage of the audio-video subfile found generation target audio-video document;
Transmission unit 1104, for the index information of the target audio-video document to be sent to the client so that institute
It states client and corresponding target audio-video text is obtained from second server based on the index information of the target audio-video document
Part plays out.
In the embodiment of the present invention, the server further include:
Acquiring unit 1105, for during audio and video data streams of the third server to live streaming are recorded, institute
It states and obtains each audio-video subfile that the third server is recorded the audio and video data streams and generated in third server
Metamessage and the audio and video data streams live stream ID, wherein each sound that the third server is recorded view
Frequency subfile is stored in the second server;
Converting unit 1106, for by the metamessage of each audio-video subfile and the audio and video data streams
Live stream ID is stored after being converted to the format that the database is supported into the database, wherein the audio-video subfile
Metamessage include at least: address information, temporal information.
In the embodiment of the present invention, the searching unit 1103, comprising:
Subelement is generated, for being based on the retrieval parameter, generates the inquiry request that the database is supported;
Transmission sub-unit, for the inquiry request to be sent to the database;
Receiving subelement, for receiving the member for the audio-video subfile that the database is inquired based on the inquiry request
Information.
In the embodiment of the present invention, the live streaming time parameter in the retrieval parameter includes the first moment, the second moment,
In, first moment is used to indicate the initial time of the target audio-video document, and second moment is for indicating described
The end time of target audio-video document;
The searching unit 1103, is specifically used for: according to the live stream ID in the retrieval parameter, in the database
Search the first metamessage set of corresponding audio-video subfile;Wherein, during recording is broadcast live, first metamessage
The process dynamics update that metamessage in set is recorded with live streaming;After live streaming terminates to record, first metamessage
Metamessage in set immobilizes;According to the temporal information in the retrieval parameter, looked into the first metamessage set
Look for the second metamessage set between first moment and second moment.
In the embodiment of the present invention, the live streaming time parameter in the retrieval parameter included the first moment, wherein described first
Moment is used to indicate the initial time of the target audio-video document;
The searching unit 1103, is specifically used for: according to the live stream ID in the retrieval parameter, in the database
Search the first metamessage set of corresponding audio-video subfile;According to the temporal information in the retrieval parameter, described
The second metamessage set being located at after first moment is searched in unitary information aggregate, wherein in the process that live streaming is recorded
In, the metamessage in the second metamessage set is with the process dynamics update that recording is broadcast live;Terminating to record in live streaming terminates
Afterwards, the metamessage in the second metamessage set immobilizes.
It will be appreciated by those skilled in the art that the realization function of each unit in server shown in Figure 11 can refer to it is aforementioned
The associated description of the processing method of audio, video data and understand.The function of each unit in server shown in Figure 11 can pass through fortune
Row is realized in the program on processor, can also be realized by specific logic circuit.
If the above-mentioned server of the embodiment of the present invention is realized in the form of software function module and as independent product pin
It sells or in use, also can store in a computer readable storage medium.Based on this understanding, the embodiment of the present invention
Technical solution substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
Personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.And
Storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), magnetic or disk
Etc. the various media that can store program code.In this way, the embodiment of the present invention is not limited to any specific hardware and software knot
It closes.
Correspondingly, the embodiment of the present invention also provides a kind of computer storage medium, wherein being stored with, computer is executable to be referred to
It enables, the processing method of the audio, video data of the embodiment of the present invention is realized when which is executed by processor.
Figure 12 is the structure composition schematic diagram of the computer equipment of the embodiment of the present invention, as shown in figure 12, the computer
Equipment includes memory 1201, processor 1202 and is stored in the calculating that can be run on memory 1201 and on processor 1202
Machine executable instruction, the processor 1202 realize following method and step when executing the computer executable instructions:
Receive that client sends checks request message for target audio-video document, the target audio-video document by
Third server is recorded to obtain to the audio and video data streams of live streaming;
It checks that request message parses to described, obtains the retrieval parameter of the target audio-video document, the retrieval
Parameter includes at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter is for characterizing target to be viewed
The audio-video document corresponding live streaming time;
It searches the metamessage of corresponding audio-video subfile in the database based on the retrieval parameter, and is based on finding
The audio-video subfile metamessage generate target audio-video document index information;
The index information of the target audio-video document is sent to the client so that the client is based on described
The index information of target audio-video document obtains corresponding target audio-video document from second server and plays out.
Above is referred to the description of computer equipment, be with above method description it is similar, the beneficial effect with method describes,
It does not repeat them here.
It, in the absence of conflict, can be in any combination between technical solution documented by the embodiment of the present invention.The above institute
It states, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, it is any to be familiar with the art
Technical staff in the technical scope disclosed by the present invention, can easily think of the change or the replacement, should all cover in guarantor of the invention
Within the scope of shield.
Claims (11)
1. a kind of processing method of audio, video data, which is characterized in that the described method includes:
What first server reception client was sent checks request message, the target audio-video for target audio-video document
File is recorded to obtain by audio and video data streams of the third server to live streaming;
The first server checks that request message parses to described, obtains the retrieval ginseng of the target audio-video document
Number, the retrieval parameter includes at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter for characterization to
The target audio-video document the checked corresponding live streaming time;
The first server searches the metamessage of corresponding audio-video subfile based on the retrieval parameter in the database, and
Metamessage based on the audio-video subfile found generates the index information of target audio-video document;
The index information of the target audio-video document is sent to the client so that the client by the first server
End group obtains corresponding target audio-video document in the index information of the target audio-video document from second server and carries out
It plays.
2. the processing method of audio, video data according to claim 1, which is characterized in that the method also includes:
During audio and video data streams of the third server to live streaming are recorded, the first server is from the third
The first of each audio-video subfile that the third server is recorded the audio and video data streams and generated is obtained in server to believe
The live stream ID of breath and the audio and video data streams, wherein each audio-video Ziwen that the third server is recorded
Part is stored in the second server;
The first server is by the metamessage of each audio-video subfile and the live stream of the audio and video data streams
ID is stored after being converted to the format that the database is supported into the database, wherein the member letter of the audio-video subfile
Breath includes at least: address information, temporal information.
3. the processing method of audio, video data according to claim 1, which is characterized in that the first server is based on institute
State the metamessage that retrieval parameter searches corresponding audio-video subfile in the database, comprising:
The first server is based on the retrieval parameter, generates the inquiry request that the database is supported and is sent to the number
According to library;
The first server receives the metamessage for the audio-video subfile that the database is inquired based on the inquiry request.
4. the processing method of audio, video data according to claim 2, which is characterized in that the live streaming in the retrieval parameter
Time parameter includes the first moment, the second moment, wherein first moment is used to indicate rising for the target audio-video document
Begin the moment, second moment is used to indicate the end time of the target audio-video document;
Correspondingly, the first server searches the member of corresponding audio-video subfile based on the retrieval parameter in the database
Information, comprising:
The first server searches corresponding audio-video according to the live stream ID in the retrieval parameter in the database
First metamessage set of subfile;Wherein, be broadcast live record during, metamessage in the first metamessage set with
Live streaming record process dynamics update;After live streaming terminates to record, the metamessage in the first metamessage set is solid
It is fixed constant;
The first server is searched in the first metamessage set and is located at according to the temporal information in the retrieval parameter
The second metamessage set between first moment and second moment.
5. the processing method of audio, video data according to claim 2, which is characterized in that the live streaming in the retrieval parameter
Time parameter included the first moment, wherein first moment is used to indicate the initial time of the target audio-video document;
Correspondingly, the first server searches the member of corresponding audio-video subfile based on the retrieval parameter in the database
Information, comprising:
The first server searches corresponding audio-video according to the live stream ID in the retrieval parameter in the database
First metamessage set of subfile;
The first server is searched in the first metamessage set and is located at according to the temporal information in the retrieval parameter
The second metamessage set after first moment, wherein during recording is broadcast live, in the second metamessage set
Metamessage with live streaming record process dynamics update;After live streaming terminates to record, in the second metamessage set
Metamessage immobilize.
6. a kind of server, which is characterized in that the server includes:
Receiving unit checks request message, the target sound for target audio-video document for receive client transmission
Video file is recorded to obtain by audio and video data streams of the third server to live streaming;
Resolution unit obtains the retrieval parameter of the target audio-video document for checking that request message parses to described,
The retrieval parameter includes at least: live streaming time parameter, live stream ID, wherein the live streaming time parameter is to be checked for characterizing
The target audio-video document the seen corresponding live streaming time;
Searching unit, for searching the metamessage of corresponding audio-video subfile in the database based on the retrieval parameter, and
Metamessage based on the audio-video subfile found generates the index information of target audio-video document;
Transmission unit, for the index information of the target audio-video document to be sent to the client so that the client
Index information based on the target audio-video document obtains corresponding target audio-video document from second server and is broadcast
It puts.
7. server according to claim 6, which is characterized in that the server further include:
Acquiring unit, for during audio and video data streams of the third server to live streaming are recorded, the third to be taken
The metamessage of each audio-video subfile that the third server is recorded the audio and video data streams and generated is obtained in business device
And the live stream ID of the audio and video data streams, wherein each audio-video subfile that the third server is recorded
It is stored in the second server;
Converting unit, for by the live stream ID of the metamessage of each audio-video subfile and the audio and video data streams
It stores after being converted to the format that the database is supported into the database, wherein the metamessage of the audio-video subfile
It includes at least: address information, temporal information.
8. server according to claim 6, which is characterized in that the searching unit, comprising:
Subelement is generated, for being based on the retrieval parameter, generates the inquiry request that the database is supported;
Transmission sub-unit, for the inquiry request to be sent to the database;
Receiving subelement, for receiving the member letter for the audio-video subfile that the database is inquired based on the inquiry request
Breath.
9. server according to claim 7, which is characterized in that live streaming time parameter in the retrieval parameter includes the
One moment, the second moment, wherein first moment is used to indicate the initial time of the target audio-video document, described the
Two moment were used to indicate the end time of the target audio-video document;
The searching unit, is specifically used for: according to the live stream ID in the retrieval parameter, searching correspond in the database
Audio-video subfile the first metamessage set;Wherein, during recording is broadcast live, in the first metamessage set
Metamessage is updated with the process dynamics that live streaming is recorded;After live streaming terminates to record, in the first metamessage set
Metamessage immobilizes;According to the temporal information in the retrieval parameter, is searched in the first metamessage set and be located at institute
State the second metamessage set between the first moment and second moment.
10. server according to claim 7, which is characterized in that the live streaming time parameter in the retrieval parameter includes
First moment, wherein first moment is used to indicate the initial time of the target audio-video document;
The searching unit, is specifically used for: according to the live stream ID in the retrieval parameter, searching correspond in the database
Audio-video subfile the first metamessage set;According to the temporal information in the retrieval parameter, in first metamessage
The second metamessage set being located at after first moment is searched in set, wherein be broadcast live record during, described the
The process dynamics update that metamessage in binary information set is recorded with live streaming;After live streaming terminates to record, described the
Metamessage in binary information set immobilizes.
11. a kind of computer storage medium, is stored thereon with computer executable instructions, which is characterized in that the computer can be held
Row instruction realizes the described in any item method and steps of claim 1-5 when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711192595.5A CN109842804A (en) | 2017-11-24 | 2017-11-24 | Processing method and server, the computer storage medium of audio, video data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711192595.5A CN109842804A (en) | 2017-11-24 | 2017-11-24 | Processing method and server, the computer storage medium of audio, video data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109842804A true CN109842804A (en) | 2019-06-04 |
Family
ID=66877290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711192595.5A Pending CN109842804A (en) | 2017-11-24 | 2017-11-24 | Processing method and server, the computer storage medium of audio, video data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109842804A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111031333A (en) * | 2019-12-02 | 2020-04-17 | 北京达佳互联信息技术有限公司 | Video processing method, device, system and storage medium |
CN111107386A (en) * | 2019-12-27 | 2020-05-05 | 北京达佳互联信息技术有限公司 | Live video playback method and device, electronic equipment, system and storage medium |
CN112954483A (en) * | 2021-02-09 | 2021-06-11 | 西安万像电子科技有限公司 | Data transmission method, system and nonvolatile storage medium |
CN113301374A (en) * | 2021-05-21 | 2021-08-24 | 北京字节跳动网络技术有限公司 | Live broadcast audio and video processing method and device, client and server |
CN113596488A (en) * | 2021-06-28 | 2021-11-02 | 北京百度网讯科技有限公司 | Display method and device of live broadcast room, electronic equipment and storage medium |
CN114025199A (en) * | 2022-01-10 | 2022-02-08 | 北京美摄网络科技有限公司 | Live video editing method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469433A (en) * | 2013-09-13 | 2015-03-25 | 深圳市腾讯计算机系统有限公司 | Live video replay method and device |
CN105915985A (en) * | 2015-12-15 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Method for performing watch-back in live broadcasting and device thereof |
CN105992049A (en) * | 2015-02-05 | 2016-10-05 | 天脉聚源(北京)科技有限公司 | RTMP live broadcast playback method and system |
CN106534878A (en) * | 2016-11-01 | 2017-03-22 | 乐视控股(北京)有限公司 | Replaying method and system of live broadcast program, and server |
-
2017
- 2017-11-24 CN CN201711192595.5A patent/CN109842804A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469433A (en) * | 2013-09-13 | 2015-03-25 | 深圳市腾讯计算机系统有限公司 | Live video replay method and device |
CN105992049A (en) * | 2015-02-05 | 2016-10-05 | 天脉聚源(北京)科技有限公司 | RTMP live broadcast playback method and system |
CN105915985A (en) * | 2015-12-15 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Method for performing watch-back in live broadcasting and device thereof |
CN106534878A (en) * | 2016-11-01 | 2017-03-22 | 乐视控股(北京)有限公司 | Replaying method and system of live broadcast program, and server |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111031333A (en) * | 2019-12-02 | 2020-04-17 | 北京达佳互联信息技术有限公司 | Video processing method, device, system and storage medium |
CN111107386A (en) * | 2019-12-27 | 2020-05-05 | 北京达佳互联信息技术有限公司 | Live video playback method and device, electronic equipment, system and storage medium |
CN112954483A (en) * | 2021-02-09 | 2021-06-11 | 西安万像电子科技有限公司 | Data transmission method, system and nonvolatile storage medium |
CN112954483B (en) * | 2021-02-09 | 2024-02-02 | 西安万像电子科技有限公司 | Data transmission method, system and non-volatile storage medium |
CN113301374A (en) * | 2021-05-21 | 2021-08-24 | 北京字节跳动网络技术有限公司 | Live broadcast audio and video processing method and device, client and server |
WO2022242461A1 (en) * | 2021-05-21 | 2022-11-24 | 北京字节跳动网络技术有限公司 | Method and apparatus for processing livestream audio/video, client, and server |
CN113596488A (en) * | 2021-06-28 | 2021-11-02 | 北京百度网讯科技有限公司 | Display method and device of live broadcast room, electronic equipment and storage medium |
CN113596488B (en) * | 2021-06-28 | 2023-08-04 | 北京百度网讯科技有限公司 | Live broadcast room display method and device, electronic equipment and storage medium |
CN114025199A (en) * | 2022-01-10 | 2022-02-08 | 北京美摄网络科技有限公司 | Live video editing method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109842804A (en) | Processing method and server, the computer storage medium of audio, video data | |
US11763800B2 (en) | Real time popularity based audible content acquisition | |
US11330316B2 (en) | Media streaming | |
CN105120304B (en) | Information display method, apparatus and system | |
JP5651225B2 (en) | Method and system for inserting advertisements into a media stream | |
US8737813B2 (en) | Automatic content recognition system and method for providing supplementary content | |
CN103069769B (en) | For the special-effect mode transmitted through the network crossfire of decoded video data | |
US8909805B2 (en) | Apparatus and method for providing streaming content | |
US20160316233A1 (en) | System and method for inserting, delivering and tracking advertisements in a media program | |
US9060206B2 (en) | Sampled digital content based syncronization of supplementary digital content | |
CN104125229B (en) | The player method of Streaming Media and playing device | |
CN104135678A (en) | Method for realizing video advertisement putting in video on demand based on HLS protocol | |
CN105228001A (en) | The method and system that a kind of FLV format video is play online | |
US20190373296A1 (en) | Content streaming system and method | |
KR102110623B1 (en) | Transmission device, information processing method, program, reception device, and application linking system | |
CN108200444B (en) | Video live broadcast method, device and system | |
US9986009B2 (en) | Apparatus and method for providing streaming content | |
US20220295132A1 (en) | Systems and Methods for Creating Custom Media Channels | |
KR20160077764A (en) | Music information provision method and system | |
CN106303754A (en) | A kind of audio data play method and device | |
CN106331763A (en) | Method of playing slicing media files seamlessly and device of realizing the method | |
WO2017080152A1 (en) | Data synchronization method and device | |
CN109587517B (en) | Multimedia file playing method and device, server and storage medium | |
US20130144985A1 (en) | Terminal, distribution system, distribution server, playback method, and program | |
KR20090079563A (en) | System and Method for Managing Movie Meta Information and Recording 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190604 |
|
RJ01 | Rejection of invention patent application after publication |