CN202111743U - Seamless switching system capable of continuously playing audios/videos - Google Patents
Seamless switching system capable of continuously playing audios/videos Download PDFInfo
- Publication number
- CN202111743U CN202111743U CN201120180966XU CN201120180966U CN202111743U CN 202111743 U CN202111743 U CN 202111743U CN 201120180966X U CN201120180966X U CN 201120180966XU CN 201120180966 U CN201120180966 U CN 201120180966U CN 202111743 U CN202111743 U CN 202111743U
- Authority
- CN
- China
- Prior art keywords
- module
- data
- document
- audio
- data buffering
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The utility model discloses a seamless switching system capable of continuously playing audios/videos. The technical scheme of the utility model is that the seamless switching system capable of continuously playing the audios/videos comprises a multi-path management module, a data buffer module, a data output module and at least two file storage servers, wherein the file storage servers, the multi-path management module, the data buffer module and the data output module are connected in sequence. The seamless switching system has the beneficial effect of achieving the purpose of continuously playing the audios/videos, so that complexity and uncertainty caused by manual operation are avoided; and moreover, the structure of the system is simplified, and implementation cost is reduced.
Description
Technical field
The utility model belongs to the audio frequency and video processing technology field, relates in particular to a kind of safe play-back technology of audio frequency and video.
Background technology
The broadcast system of broadcasting station or TV station is very high to the stable requirement of broadcasting of audio frequency and video; In the broadcast system operate as normal, do not allow to occur because the fault that the broadcast that situation such as network interruption or file error cause is interrupted; If unusual when not having certain safeguard to come timely treatment system to broadcast certainly will influence the broadcast quality of radio data system.Therefore, a kind of effective broadcast fault tolerant mechanism seems particularly important concerning the broadcast system of broadcasting station or TV station.
In order to address this problem, the major measure of taking at present is the quality of strict control broadcast items file and the network management of strengthening broadcast system, and reduction system as much as possible broadcasts unusual probability.Just in case occurring network or file cause the situation of system break unusually in the broadcast process, then can only carry out urgent intervention through host or minder person's manual switchover, this has brought great challenge for stability and operability of system.Also having a solution at present is to accomplish through the thinking at active and standby broadcast station; Two covers or the synchronous at the same time work of many cover broadcast systems are promptly arranged simultaneously; In case one then switches to another and works on because file causes broadcasting failure, can solve the broadcast accident that causes because of file error to a certain extent so really; But need to set up more complicated broadcast network, increased network cost greatly.Thereby, need a kind of method can effectively accomplish the work of continuous broadcast automatically in a hurry.
The utility model content
The purpose of the utility model is in order to improve fail safe and the stability that radio data system broadcasts continuously, to have proposed a kind of audio frequency and video and play seamless switch-over system continuously.
To achieve these goals; The utility model provides a kind of technical scheme: a kind of audio frequency and video are play seamless switch-over system continuously; It is characterized in that; Comprise multi-route management module, data buffering module, data outputting module and at least two document storage servers, said document storage server, multi-route management module, data buffering module are connected with data outputting module successively;
The input of said multi-route management module is connected with a plurality of document storage servers simultaneously; Output is connected with the data buffering module; Said multi-route management module comprises a data passages and storage stack; Wherein data channel is used for the document data flow of audio-video document is transferred to the data buffering module from document storage server; Wherein memory is used to write down the filename of same audio-video document; And this document residing path, the current path L that is used and current audio-video document on different server are read position p; Said multi-route management module is used under the request of data buffering module, reads document data flow in the audio-video document from the current path L that is used and is sent to the data buffering module to fill up the data buffering module through data channel, writes down the position p that current audio-video document is read simultaneously;
The input of said data buffering module is connected with the multipath handover module; Output is connected with data outputting module; Said data buffering module is used for the temporary storage file data flow, and under the request of data outputting module, document data flow is outputed to the system outside through the audio frequency output module and carry out next stage and handle;
The input of said data outputting module is connected with the data buffering module, and output is connected with system is outside, is used for request and obtains document data flow from the data buffering module, carries out the next stage processing to output to the system outside.
Said a plurality of server can be separately positioned on the different physical servers, also can be arranged on through the mode of disk array on the same physical server.
The beneficial effect of the utility model is: when the utility model runs into abnormal conditions such as network failure or file read error to audio-video document in playing process; Carry out the seamless switching operation; Reach the purpose that system broadcasts continuously; With this loaded down with trivial details property and uncertainty of having avoided manual operation to bring, simplified system configuration, reduced implementation cost.
Description of drawings
Fig. 1 is the system construction drawing of the utility model.
Fig. 2 is system's corresponding processing method flow diagram of the utility model.
Embodiment
Below in conjunction with accompanying drawing and concrete embodiment the utility model is made further description.
As shown in Figure 1; A kind of audio frequency and video are play seamless switch-over system continuously; Comprise multi-route management module, data buffering module, data outputting module and at least two document storage servers, said document storage server, multi-route management module, data buffering module are connected with data outputting module successively;
The input of said multi-route management module is connected with a plurality of document storage servers simultaneously; Output is connected with the data buffering module; Said multi-route management module comprises a data passages and storage stack; Wherein data channel is used for the document data flow of audio-video document is transferred to the data buffering module from document storage server; Wherein memory is used to write down the filename of same audio-video document; And this document residing path, the current path L that is used and current audio-video document on different server are read position p (corresponding file server of each paths; Path except that the current path L that is used is called as alternative path); Said multi-route management module is used under the request of data buffering module, reads document data flow in the audio-video document from the current path L that is used and is sent to the data buffering module to fill up the data buffering module through data channel, writes down the position p (this position also is called as breakpoint) that current audio-video document is read simultaneously;
A kind of instant fault tolerant mechanism that above-mentioned multi-route management module reads as audio-video document when network breaks down or during document lending, can continue to read audio-video document from alternative file path rapidly and accurately, thereby realizes broadcasting continuously.
The input of said data buffering module is connected with the multipath handover module; Output is connected with data outputting module; Said data buffering module is used for the temporary storage file data flow, and under the request of data outputting module, document data flow is outputed to the system outside through the audio frequency output module and carry out next stage and handle;
Above-mentioned data buffering module is before the audio-video document broadcast is carried out and in the playing process; Based on adjustment of set buffer capacity and filling Strategy, the document data flow of the certain-length that reads in will certain audio-video document from file server writes the data buffering module dynamically; The data buffering module adopts the form of round-robin queue to organize memory headroom; Read successively from round-robin queue in the audio-video document broadcast process; Memory headroom after completion is read is back to the end of round-robin queue again and waits for next padding data, recycling memory headroom like this; Buffer capacity adjustment strategy is dynamically adjusted the buffer capacity size: before audio-video document is not play; The buffer capacity of data buffering module is made as R=1.5M (about 48 seconds s48 audio file data length); So that buffer capacity can be filled as early as possible; Thereby satisfy the request of data outputting module, realize as early as possible playing; After audio-video document starts broadcasting; Buffer capacity can be adjusted greatly as far as possible; To guarantee that its document data flow deposit that long period can still can be arranged supplies data outputting module output to use under the situation that the audio-video document mistake occurs, this moment, buffer capacity can be made as the size of the video file of broadcasting usually, but the general maximum of the upper limit of buffer capacity is no more than R=10M; Otherwise, take too much machine internal memory easily and cause machine efficiency to reduce;
After above-mentioned audio-video document broadcasts beginning; The filling trigger point of data buffering module is made as K=1.5M (about 48 seconds s48 file data); Be when remaining document data flow is less than filling trigger point K in the buffering area, the padding of log-on data buffer module to be read document data flow through the audio-video document of multi-route management module from current path;
Above-mentioned buffer pool size R and filling trigger point K can artificially regulate setting, to adapt to different actual demands, improve the versatility of system;
The input of said data outputting module is connected with the data buffering module, and output is connected with system is outside, is used for request and obtains document data flow from the data buffering module, carries out the next stage processing to output to the system outside.
Said a plurality of server can be separately positioned on the different physical servers; Also can be arranged on the same physical server through the mode of disk array; In the present embodiment; The quantity of file server is n, and n is the natural number more than or equal to 2, and the server of varying number can be set according to the requirement of system.
Above-mentioned multi-route management module is used for when network failure or audio-video document read error appear in the current path L corresponding file server that is used; Filename and the current audio-video document of noting the current path L that is used, the current audio-video document that is used are read position p (breakpoint); Existing side by side soon, any backup path switches to the new current path L ' that is used; Continuation is read the operation that the audio-video document on the new file server is read in p corresponding position in position from current audio-video document, thereby realizes the work of data source continuous and effective.
To achieve these goals, the utility model provides another kind of technical scheme: the technical scheme of the utility model is: a kind of audio frequency and video are play seamless handover method continuously, comprise the steps:
Step 1: system initialization operation: to record and the preservation of same audio-video document residing path, current path L that is used on different server, the setting of buffer capacity R, filling trigger point K;
Corresponding server in each path wherein, said a plurality of servers can be separately positioned on the different physical servers, also can be arranged on the same physical server through the mode of disk array; Wherein to the initialization of buffer capacity R; Just begun in order to fill up the data buffering module as soon as possible, so that can be rapidly to external system output file data flow, so buffer capacity R be provided with lessly; In the present embodiment 1.5M (about 48 seconds s48 audio file data length); After the normal broadcast of audio frequency and video, suitably increase buffer capacity R again, make it occur still having the document data flow of long period to supply data outputting module output to use under the situation of file error;
Step 2: padding: when the remaining document data flow in the data buffering module is less than filling trigger point K; The data buffering module will ask the multi-route management module to fill document data flow; Read document data flow in will be from the current path L that the is used corresponding audio-video document of multi-route management module this moment and be filled to the data buffering module until the data buffering module is filled up, and write down current audio-video document and be read position p;
Step 3: whether the filling process in the determining step 2 is successful, successfully then gets into step 4 if fill, if fill the unsuccessful step 6 that then gets into;
Step 4:, document data flow is outputed to external system from the data buffering module through data outputting module according to the request of external system;
Step 5: in the judgment data buffer module size of remaining document data flow whether less than filling trigger point K, if less than, then forward step 2 to and carry out padding, if be not less than, then forward step 4 to and continue output file data flow from the data buffering module;
Step 6: judge whether the audio-video document on the current path L corresponding server that is used is read ending,, then get into step 7, if the no show ending then gets into step 8 if arrive ending;
Step 7: send to broadcast success message and finish and broadcast;
Step 8: judge whether same audio-video document corresponding in all file servers all makes mistakes, and then gets into step 9 if all make mistakes, and does not then get into step 10 if all make mistakes;
Step 9: send to broadcast failed message and finish and broadcast;
Step 10: switch in the path: the handover operation that carries out the current path L that is used; With the next path in the alternative file path as the new current path L ' that is used; And be read the pairing position of position p from current audio-video document and begin to read the document data flow of new audio-video document, and forward step 2 to;
(step 3) begins to read document data flow (step 10) to switching to new path continuation from the position that current audio-video document is read position p correspondence owing to fill failure from the discovery file in the step 10; Can be after this process realizes through high performance code at 30 seconds with the whole change action of interior completion and fill new document data flow; And because the capacity of having stored at least in the data buffering module is that (with K=1.5 is example for the data of K; Can continue to broadcast about 45 seconds); Therefore for extraneous, experience the problem and the path handover operation of makeing mistakes fully, thereby realized the seamless switching operation of multipath multifile less than data.
Those of ordinary skill in the art will appreciate that embodiment described here is in order to help the principle of reader understanding's the utility model, should to be understood that the protection range of the utility model is not limited to such special statement and embodiment.Those of ordinary skill in the art can make various other various concrete distortion and combinations that do not break away from the utility model essence according to disclosed these teachings of the utility model, and these distortion and combination are still in the protection range of the utility model.
Claims (2)
1. audio frequency and video are play seamless switch-over system continuously; It is characterized in that; Comprise multi-route management module, data buffering module, data outputting module and at least two document storage servers, said document storage server, multi-route management module, data buffering module are connected with data outputting module successively;
The input of said multi-route management module is connected with a plurality of document storage servers simultaneously, and output is connected with the data buffering module, and said multi-route management module comprises a data passages and storage stack,
The input of said data buffering module is connected with the multipath handover module; Output is connected with data outputting module; Said data buffering module is used for the temporary storage file data flow, and under the request of data outputting module, document data flow is outputed to the system outside through the audio frequency output module and carry out next stage and handle;
The input of said data outputting module is connected with the data buffering module, and output is connected with system is outside.
2. a kind of audio frequency and video according to claim 1 are play seamless switch-over system continuously; It is characterized in that; Said a plurality of server can be separately positioned on the different physical servers, also can be arranged on through the mode of disk array on the same physical server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201120180966XU CN202111743U (en) | 2011-05-31 | 2011-05-31 | Seamless switching system capable of continuously playing audios/videos |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201120180966XU CN202111743U (en) | 2011-05-31 | 2011-05-31 | Seamless switching system capable of continuously playing audios/videos |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202111743U true CN202111743U (en) | 2012-01-11 |
Family
ID=45437193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201120180966XU Expired - Lifetime CN202111743U (en) | 2011-05-31 | 2011-05-31 | Seamless switching system capable of continuously playing audios/videos |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202111743U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231730A (en) * | 2011-05-31 | 2011-11-02 | 电子科技大学 | Audio/video continuous play seamless switching system and method |
CN103686196B (en) * | 2013-12-31 | 2017-03-01 | 北京中科大洋科技发展股份有限公司 | A kind of seamless switch-over system ensureing the normal broadcast of video and audio and method |
CN114302254A (en) * | 2021-12-28 | 2022-04-08 | 天翼云科技有限公司 | Method and device for transcoding and slicing live video, storage medium and electronic equipment |
-
2011
- 2011-05-31 CN CN201120180966XU patent/CN202111743U/en not_active Expired - Lifetime
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231730A (en) * | 2011-05-31 | 2011-11-02 | 电子科技大学 | Audio/video continuous play seamless switching system and method |
CN102231730B (en) * | 2011-05-31 | 2013-12-11 | 电子科技大学 | Audio/video continuous play seamless switching system and method |
CN103686196B (en) * | 2013-12-31 | 2017-03-01 | 北京中科大洋科技发展股份有限公司 | A kind of seamless switch-over system ensureing the normal broadcast of video and audio and method |
CN114302254A (en) * | 2021-12-28 | 2022-04-08 | 天翼云科技有限公司 | Method and device for transcoding and slicing live video, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101771599B (en) | Method and device for receiving RTP data packets | |
US8971295B2 (en) | Soft handoffs in networks | |
CN202111743U (en) | Seamless switching system capable of continuously playing audios/videos | |
CN102710966A (en) | Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol) | |
US9081751B2 (en) | Video server and rebuild processing control method | |
RU2010101635A (en) | METHOD AND DEVICE FOR PLAYING DYNAMICALLY CHANGING AUDIO AND VIDEO MENU | |
WO2011038565A1 (en) | Streaming media audio-video synchronization method and system | |
CN202306531U (en) | Multi-system changeover device and computer | |
CN102231730B (en) | Audio/video continuous play seamless switching system and method | |
CN101697152A (en) | Database storage system and method and device for splitting data thereof | |
US7146167B2 (en) | Non-instantaneous hard handover control device and method | |
CN102355604B (en) | Media message transmission method and device | |
CN102023926B (en) | Method and device for data overtime aging processing | |
US20150063261A1 (en) | Method for transmitting and receiving voice packet and electronic device implementing the same | |
CN103987096B (en) | Method, base station and the terminal of synchronizing information are realized under a kind of single station pattern | |
CN104853234A (en) | Data processing method, system thereof and mobile terminal | |
CN102238423B (en) | A kind of equipment scheduling method, Apparatus and system | |
US20120272116A1 (en) | Method and device for bandwidth self-adapting data ranking protection | |
CN103347212B (en) | The playing method and device of VOD program | |
CN105764092A (en) | Original state message sending control method, compression end equipment, decompression end equipment, and system | |
US20110014937A1 (en) | Communication Control Device And Communication Control Method | |
US8594111B2 (en) | Method and device for buffering cell by crossbar switching matrix | |
CN103024837A (en) | Method and apparatus for reducing medium interface time delay caused by switchover | |
CN107295547B (en) | Wireless signal processing method, device and system | |
CN219478023U (en) | Video guide and broadcast equipment with novel emergency switching function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20120111 Effective date of abandoning: 20131211 |
|
AV01 | Patent right actively abandoned |
Granted publication date: 20120111 Effective date of abandoning: 20131211 |
|
RGAV | Abandon patent right to avoid regrant |