CN107846607A - A kind of multi-stream data synchronously stores and back method - Google Patents

A kind of multi-stream data synchronously stores and back method Download PDF

Info

Publication number
CN107846607A
CN107846607A CN201710914973.XA CN201710914973A CN107846607A CN 107846607 A CN107846607 A CN 107846607A CN 201710914973 A CN201710914973 A CN 201710914973A CN 107846607 A CN107846607 A CN 107846607A
Authority
CN
China
Prior art keywords
data
stream
playback
storage server
video
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
Application number
CN201710914973.XA
Other languages
Chinese (zh)
Inventor
余南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Aircraft Industrial Group Co Ltd
Original Assignee
Chengdu Aircraft Industrial Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Aircraft Industrial Group Co Ltd filed Critical Chengdu Aircraft Industrial Group Co Ltd
Priority to CN201710914973.XA priority Critical patent/CN107846607A/en
Publication of CN107846607A publication Critical patent/CN107846607A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23602Multiplexing isochronously with the video sync, e.g. according to bit-parallel or bit-serial interface formats, as SDI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Abstract

The present invention relates to a kind of multi-stream data synchronization storage and back method, including multi-stream data storage server and playback system, the multi-stream data storage server includes SETUP files, the SETUP files include some data flows, the SETUP is used to store data to the corresponding file handle of each data flow, the data flow includes audio stream, first PCM stream, second PCM stream, first video flowing, second video flowing and the 3rd video flowing, the data flow is provided with a data packet head before storing every time, the millisecond number that the data packet head record storage time starts, the playback system passes through file handle reading data flow, the playback system is positioned by the millisecond number of data packet head.Multiple flow datas are stored by unified, single software uniformly stores multi-stream data, and the data of each stream are added with unified time tag, can ensure that all data flows being capable of synchronized playback during playback.

Description

A kind of multi-stream data synchronously stores and back method
Technical field
The invention belongs to aeronautical data acquisition technique field, more particularly to a kind of multi-stream data synchronously stores and playback side Method.
Background technology
With the continuous progressive of Flight Test Technique and develop, the complexity of the data flow of real-time testing and multifarious raising, Scientific research is taken a flight test for the quick requirement for judging flight reappearance also more and more higher, and multithread is carried out to flying quality at once after flight Synchronized playback turns into the vital task for improving flight test efficiency.At present, during multiple synchronization of data streams playback, with manual intervention Mode control the beginnings of different data streams, pause, selections, etc. operation realize synchronization, positioning is inaccurate, cumbersome, when synchronous Between error it is big, whole structure is difficult to meet engine request.
The content of the invention
Type of the present invention aims to overcome that the above-mentioned problems in the prior art, there is provided a kind of multi-stream data is synchronously deposited Storage and back method, this patent store multiple flow datas using unified, can ensure that all data flows can be returned synchronously during playback Put.
To achieve the above object, the technical solution adopted by the present invention is as follows.
A kind of multi-stream data synchronously stores and back method, it is characterised in that:Including multi-stream data storage server and return Place system, the multi-stream data storage server include SETUP files, and the SETUP files include some data flows, described SETUP is used to store data to the corresponding file handle of each data flow, and the data flow includes audio stream, the first PCM Stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing, the data flow are provided with one before storing every time Data packet head, the millisecond number that the data packet head record storage time starts, the playback system read number by file handle According to stream, the playback system is positioned by the millisecond number of data packet head, and it is soft that the playback system includes monitor terminal control Part, video jukebox software, PARAMETER DRAFTING software, transmission audio and playback controls bar.
The multi-stream data storage server is provided with clip audio optimization system.
The multi-stream data storage server is provided with video processing module, and the video processing module utilizes the son obtained Variable assignments is replaced to obtain the relevant variable in video processing applications program code segments, and running the Video processing after variable replacement should Video flowing is handled with program code.
The multi-stream data storage server is connected with the output end of data amplifier, first PCM stream and the 2nd PCM Flow input data amplifier.
The multi-stream data storage server is connected with copying equipment.
The multi-stream data storage server is connected with unlimited signal generator.
The file handle includes obtaining the specific path of data flow, and matches with data flow to be solved.
1st, multiple data flows store simultaneously by a multi-stream data storage server, then read by file handle According to being streamed in playback system, playback system can repeat playing for access, and the millisecond stored by data packet head is ripe to each The data of stream all add unified time tag, and the millisecond number that the same day 0: 0 assigns to the current time is have recorded in data packet head, is returned Positioned when putting according to this millisecond of number, millisecond number is easy to that positioning is hard-cover, and lock in time error is small, can ensure institute during playback Have data flow can synchronized playback, be effectively guaranteed audio stream, the first PCM stream, the second PCM stream, the first video flowing, second regard While the various data flows such as frequency stream and the 3rd video flowing store, monitor terminal control software, video playback in playback system Playback data stream can have been reached flow data storage and playback by software, PARAMETER DRAFTING software, transmission audio and playback controls bar It can carry out simultaneously.
2nd, the noise in audio stream can be handled by audio optimization system, using sound clarity during playback, without noise.
3rd, the relevant variable for replacing to obtain in video processing applications program code segments by sub- variable assignments handles video flowing, Multiple video flowing sections such as the first video flowing, the second video flowing and the 3rd video flowing are enable to be optimized, the image clearly of playback.
4th, the first PCM stream and the second PCM stream pulse signal can be strengthened by data amplifier, due to the sound in nature Sound is extremely complex, and waveform is extremely complex, and any digital audio encoding scheme all damages, and strengthens numeral letter by amplifier Number, impaired coding can be reduced.
5th, data flow is backed up by copying equipment, prevents operating personnel's operational error from losing data flow.
6th, the information of data flow can be occurred to arrive other places by unlimited signal generator, while can also be remote It was observed that the content of playback.
7th, matched by file handle and each data flow, the information of each data flow of playback that can be independent.
Brief description of the drawings
Fig. 1 is the structural representation of multi-stream data storage server.
Fig. 2 is the structural representation of playback system.
Embodiment
The present invention is described further below in conjunction with the accompanying drawings.
Embodiment 1
As shown in Fig. 1 to 2, a kind of multi-stream data synchronously storage and back method, including multi-stream data storage server and playback System, the multi-stream data storage server include SETUP files, and the SETUP files include some data flows, described SETUP is used to store data to the corresponding file handle of each data flow, and the data flow includes audio stream, the first PCM Stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing, the data flow are provided with one before storing every time Data packet head, the millisecond number that the data packet head record storage time starts, the playback system read number by file handle According to stream, the playback system is positioned by the millisecond number of data packet head, and it is soft that the playback system includes monitor terminal control Part, video jukebox software, PARAMETER DRAFTING software, transmission audio and playback controls bar.
For multi-stream data storage server at work, it is necessary to first establish a SETUP file, SETUP document definitions are every The type of individual stream(Audio or video or PCM), multicast address, multicast port, after loading SETUP files, give each stream Open a file handle, for storing data flow(Including audio stream, the first PCM stream, the second PCM stream, the first video flowing, Two video flowings and the 3rd video flowing etc.), for each data flow, a thread is dynamically opened up, data flow is received and stores, Add a data packet head before the data block stored each time, be the millisecond number for assigning to the current time on the same day 0: 0 in packet header, return Positioned when putting according to this millisecond of number, call parameters mapping software and calling monitor terminal control software in playback system For required digital independent to video jukebox software, then by calling video jukebox software replay image, playback system passes through transmission Audio forms sound, and when load data, the data that each flow can generate one according to the temporal information in packet header of data flow Individual index, playback controls bar can quickly position hereof according to temporal information, during playback of data, with the time of audio stream As standard, each software can be according to the time of current playback, and the label in data flow packet header carries out fast positioning, while returning Put while position, if some flows away too fast, then can suitably regulate the speed suitable with audio stream, if to playback controls Bar is pulled, then all data flows all quickly jump to the position of label at the same time and played back, and pass through a multithread Data storage server to multiple data flows store simultaneously, then is sent to playback system by file handle reading data flow Interior, playback system can repeat playing, by the ripe data to each stream of millisecond that data packet head stores plus it is unified when Between label, have recorded the millisecond number that the same day 0: 0 assigns to the current time in data packet head, carried out according to this millisecond of number during playback Positioning, millisecond number are easy to that positioning is hard-cover, and lock in time error is small, can ensure during playback all data flows can synchronized playback, It is each to be effectively guaranteed audio stream, the first PCM stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing etc. While kind data flow storage, monitor terminal control software, video jukebox software in playback system, PARAMETER DRAFTING software, hair Send audio and playback controls bar playback data stream can be reached flow data storage and can have been carried out simultaneously with playback, after flight Aviatrix comment on playback, improve and comment on efficiency, make to comment on more efficiently, it is directly perceived.
Embodiment 2
As shown in Fig. 1 to 2, a kind of multi-stream data synchronously storage and back method, including multi-stream data storage server and playback System, the multi-stream data storage server include SETUP files, and the SETUP files include some data flows, described SETUP is used to store data to the corresponding file handle of each data flow, and the data flow includes audio stream, the first PCM Stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing, the data flow are provided with one before storing every time Data packet head, the millisecond number that the data packet head record storage time starts, the playback system read number by file handle According to stream, the playback system is positioned by the millisecond number of data packet head, and it is soft that the playback system includes monitor terminal control Part, video jukebox software, PARAMETER DRAFTING software, transmission audio and playback controls bar.
The multi-stream data storage server is provided with clip audio optimization system.
The multi-stream data storage server is provided with video processing module, and the video processing module utilizes the son obtained Variable assignments is replaced to obtain the relevant variable in video processing applications program code segments, and running the Video processing after variable replacement should Video flowing is handled with program code.
For multi-stream data storage server at work, it is necessary to first establish a SETUP file, SETUP document definitions are every The type of individual stream(Audio or video or PCM), multicast address, multicast port, after loading SETUP files, give each stream Open a file handle, for storing data flow(Including audio stream, the first PCM stream, the second PCM stream, the first video flowing, Two video flowings and the 3rd video flowing etc.), for each data flow, a thread is dynamically opened up, data flow is received and stores, Add a data packet head before the data block stored each time, be the millisecond number for assigning to the current time on the same day 0: 0 in packet header, return Positioned when putting according to this millisecond of number, call parameters mapping software and calling monitor terminal control software in playback system For required digital independent to video jukebox software, then by calling video jukebox software replay image, playback system passes through transmission Audio forms sound, and when load data, the data that each flow can generate one according to the temporal information in packet header of data flow Individual index, playback controls bar can quickly position hereof according to temporal information, during playback of data, with the time of audio stream As standard, each software can be according to the time of current playback, and the label in data flow packet header carries out fast positioning, while returning Put while position, if some flows away too fast, then can suitably regulate the speed suitable with audio stream, if to playback controls Bar is pulled, then all data flows all quickly jump to the position of label at the same time and played back, and pass through a multithread Data storage server to multiple data flows store simultaneously, then is sent to playback system by file handle reading data flow Interior, playback system can repeat playing, by the ripe data to each stream of millisecond that data packet head stores plus it is unified when Between label, have recorded the millisecond number that the same day 0: 0 assigns to the current time in data packet head, carried out according to this millisecond of number during playback Positioning, millisecond number are easy to that positioning is hard-cover, and lock in time error is small, can ensure during playback all data flows can synchronized playback, It is each to be effectively guaranteed audio stream, the first PCM stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing etc. While kind data flow storage, monitor terminal control software, video jukebox software in playback system, PARAMETER DRAFTING software, hair Send audio and playback controls bar playback data stream can be reached flow data storage and can have been carried out simultaneously with playback, after flight Aviatrix comment on playback, improve and comment on efficiency, make to comment on more efficiently, it is directly perceived.
The noise in audio stream can be handled by audio optimization system, using sound clarity during playback, without noise.
The relevant variable for replacing to obtain in video processing applications program code segments by sub- variable assignments handles video flowing, makes Multiple video flowing sections such as the first video flowing, the second video flowing and the 3rd video flowing can be optimized, the image clearly of playback.
Embodiment 3
As shown in Fig. 1 to 2, a kind of multi-stream data synchronously storage and back method, including multi-stream data storage server and playback System, the multi-stream data storage server include SETUP files, and the SETUP files include some data flows, described SETUP is used to store data to the corresponding file handle of each data flow, and the data flow includes audio stream, the first PCM Stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing, the data flow are provided with one before storing every time Data packet head, the millisecond number that the data packet head record storage time starts, the playback system read number by file handle According to stream, the playback system is positioned by the millisecond number of data packet head, and it is soft that the playback system includes monitor terminal control Part, video jukebox software, PARAMETER DRAFTING software, transmission audio and playback controls bar.
The multi-stream data storage server is provided with clip audio optimization system.
The multi-stream data storage server is provided with video processing module, and the video processing module utilizes the son obtained Variable assignments is replaced to obtain the relevant variable in video processing applications program code segments, and running the Video processing after variable replacement should Video flowing is handled with program code.
The multi-stream data storage server is connected with the output end of data amplifier, first PCM stream and the 2nd PCM Flow input data amplifier.
The multi-stream data storage server is connected with copying equipment.
For multi-stream data storage server at work, it is necessary to first establish a SETUP file, SETUP document definitions are every The type of individual stream(Audio or video or PCM), multicast address, multicast port, after loading SETUP files, give each stream Open a file handle, for storing data flow(Including audio stream, the first PCM stream, the second PCM stream, the first video flowing, Two video flowings and the 3rd video flowing etc.), for each data flow, a thread is dynamically opened up, data flow is received and stores, Add a data packet head before the data block stored each time, be the millisecond number for assigning to the current time on the same day 0: 0 in packet header, return Positioned when putting according to this millisecond of number, call parameters mapping software and calling monitor terminal control software in playback system For required digital independent to video jukebox software, then by calling video jukebox software replay image, playback system passes through transmission Audio forms sound, and when load data, the data that each flow can generate one according to the temporal information in packet header of data flow Individual index, playback controls bar can quickly position hereof according to temporal information, during playback of data, with the time of audio stream As standard, each software can be according to the time of current playback, and the label in data flow packet header carries out fast positioning, while returning Put while position, if some flows away too fast, then can suitably regulate the speed suitable with audio stream, if to playback controls Bar is pulled, then all data flows all quickly jump to the position of label at the same time and played back, and pass through a multithread Data storage server to multiple data flows store simultaneously, then is sent to playback system by file handle reading data flow Interior, playback system can repeat playing, by the ripe data to each stream of millisecond that data packet head stores plus it is unified when Between label, have recorded the millisecond number that the same day 0: 0 assigns to the current time in data packet head, carried out according to this millisecond of number during playback Positioning, millisecond number are easy to that positioning is hard-cover, and lock in time error is small, can ensure during playback all data flows can synchronized playback, It is each to be effectively guaranteed audio stream, the first PCM stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing etc. While kind data flow storage, monitor terminal control software, video jukebox software in playback system, PARAMETER DRAFTING software, hair Send audio and playback controls bar playback data stream can be reached flow data storage and can have been carried out simultaneously with playback, after flight Aviatrix comment on playback, improve and comment on efficiency, make to comment on more efficiently, it is directly perceived.
The noise in audio stream can be handled by audio optimization system, using sound clarity during playback, without noise.
The relevant variable for replacing to obtain in video processing applications program code segments by sub- variable assignments handles video flowing, makes Multiple video flowing sections such as the first video flowing, the second video flowing and the 3rd video flowing can be optimized, the image clearly of playback.
First PCM stream and the second PCM stream pulse signal can be strengthened by data amplifier, due to the sound in nature Extremely complex, waveform is extremely complex, and any digital audio encoding scheme all damages, and strengthens data signal by amplifier, Impaired coding can be reduced.
Data flow is backed up by copying equipment, prevents operating personnel's operational error from losing data flow.
Embodiment 4
As shown in Fig. 1 to 2, a kind of multi-stream data synchronously storage and back method, including multi-stream data storage server and playback System, the multi-stream data storage server include SETUP files, and the SETUP files include some data flows, described SETUP is used to store data to the corresponding file handle of each data flow, and the data flow includes audio stream, the first PCM Stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing, the data flow are provided with one before storing every time Data packet head, the millisecond number that the data packet head record storage time starts, the playback system read number by file handle According to stream, the playback system is positioned by the millisecond number of data packet head, and it is soft that the playback system includes monitor terminal control Part, video jukebox software, PARAMETER DRAFTING software, transmission audio and playback controls bar.
The multi-stream data storage server is provided with clip audio optimization system.
The multi-stream data storage server is provided with video processing module, and the video processing module utilizes the son obtained Variable assignments is replaced to obtain the relevant variable in video processing applications program code segments, and running the Video processing after variable replacement should Video flowing is handled with program code.
The multi-stream data storage server is connected with the output end of data amplifier, first PCM stream and the 2nd PCM Flow input data amplifier.
The multi-stream data storage server is connected with copying equipment.
The multi-stream data storage server is connected with unlimited signal generator.
The file handle includes obtaining the specific path of data flow, and matches with data flow to be solved.
For multi-stream data storage server at work, it is necessary to first establish a SETUP file, SETUP document definitions are every The type of individual stream(Audio or video or PCM), multicast address, multicast port, after loading SETUP files, give each stream Open a file handle, for storing data flow(Including audio stream, the first PCM stream, the second PCM stream, the first video flowing, Two video flowings and the 3rd video flowing etc.), for each data flow, a thread is dynamically opened up, data flow is received and stores, Add a data packet head before the data block stored each time, be the millisecond number for assigning to the current time on the same day 0: 0 in packet header, return Positioned when putting according to this millisecond of number, call parameters mapping software and calling monitor terminal control software in playback system For required digital independent to video jukebox software, then by calling video jukebox software replay image, playback system passes through transmission Audio forms sound, and when load data, the data that each flow can generate one according to the temporal information in packet header of data flow Individual index, playback controls bar can quickly position hereof according to temporal information, during playback of data, with the time of audio stream As standard, each software can be according to the time of current playback, and the label in data flow packet header carries out fast positioning, while returning Put while position, if some flows away too fast, then can suitably regulate the speed suitable with audio stream, if to playback controls Bar is pulled, then all data flows all quickly jump to the position of label at the same time and played back, and pass through a multithread Data storage server to multiple data flows store simultaneously, then is sent to playback system by file handle reading data flow Interior, playback system can repeat playing, by the ripe data to each stream of millisecond that data packet head stores plus it is unified when Between label, have recorded the millisecond number that the same day 0: 0 assigns to the current time in data packet head, carried out according to this millisecond of number during playback Positioning, millisecond number are easy to that positioning is hard-cover, and lock in time error is small, can ensure during playback all data flows can synchronized playback, It is each to be effectively guaranteed audio stream, the first PCM stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing etc. While kind data flow storage, monitor terminal control software, video jukebox software in playback system, PARAMETER DRAFTING software, hair Send audio and playback controls bar playback data stream can be reached flow data storage and can have been carried out simultaneously with playback, after flight Aviatrix comment on playback, improve and comment on efficiency, make to comment on more efficiently, it is directly perceived.
The noise in audio stream can be handled by audio optimization system, using sound clarity during playback, without noise.
The relevant variable for replacing to obtain in video processing applications program code segments by sub- variable assignments handles video flowing, makes Multiple video flowing sections such as the first video flowing, the second video flowing and the 3rd video flowing can be optimized, the image clearly of playback.
First PCM stream and the second PCM stream pulse signal can be strengthened by data amplifier, due to the sound in nature Extremely complex, waveform is extremely complex, and any digital audio encoding scheme all damages, and strengthens data signal by amplifier, Impaired coding can be reduced.
Data flow is backed up by copying equipment, prevents operating personnel's operational error from losing data flow.
The information of data flow can be occurred to arrive other places by unlimited signal generator, while can also seen at a distance Observe the content of playback.
Matched by file handle and each data flow, the information of each data flow of playback that can be independent.
Embodiment described above only expresses the embodiment of the application, and its description is more specific and detailed, but simultaneously Therefore the limitation to the application protection domain can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, on the premise of technical scheme design is not departed from, various modifications and improvements can be made, these belong to this The protection domain of application.

Claims (7)

1. a kind of multi-stream data synchronously stores and back method, it is characterised in that:Including multi-stream data storage server and playback System, the multi-stream data storage server include SETUP files, and the SETUP files include some data flows, described SETUP is used to store data to the corresponding file handle of each data flow, and the data flow includes audio stream, the first PCM Stream, the second PCM stream, the first video flowing, the second video flowing and the 3rd video flowing, the data flow are provided with one before storing every time Data packet head, the millisecond number that the data packet head record storage time starts, the playback system read number by file handle According to stream, the playback system is positioned by the millisecond number of data packet head, and it is soft that the playback system includes monitor terminal control Part, video jukebox software, PARAMETER DRAFTING software, transmission audio and playback controls bar.
2. a kind of multi-stream data as claimed in claim 1 synchronously stores and back method, it is characterised in that:The multi-stream data Storage server is provided with clip audio optimization system.
3. a kind of multi-stream data as claimed in claim 1 synchronously stores and back method, it is characterised in that:The multi-stream data Storage server is provided with video processing module, and the video processing module is replaced to obtain video using the sub- variable assignments of acquisition The relevant variable in application code section is handled, runs the video processing applications program code processing video after variable replacement Stream.
4. a kind of multi-stream data as claimed in claim 1 synchronously stores and back method, it is characterised in that:The multi-stream data Storage server is connected with the output end of data amplifier, first PCM stream and the second PCM stream input data amplifier.
5. a kind of multi-stream data as claimed in claim 1 synchronously stores and back method, it is characterised in that:The multi-stream data Storage server is connected with copying equipment.
6. a kind of multi-stream data as claimed in claim 1 synchronously stores and back method, it is characterised in that:The multi-stream data Storage server is connected with unlimited signal generator.
7. a kind of multi-stream data as claimed in claim 1 synchronously stores and back method, it is characterised in that:The file handle Including obtaining the specific path of data flow, and match with data flow to be solved.
CN201710914973.XA 2017-09-30 2017-09-30 A kind of multi-stream data synchronously stores and back method Pending CN107846607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710914973.XA CN107846607A (en) 2017-09-30 2017-09-30 A kind of multi-stream data synchronously stores and back method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710914973.XA CN107846607A (en) 2017-09-30 2017-09-30 A kind of multi-stream data synchronously stores and back method

Publications (1)

Publication Number Publication Date
CN107846607A true CN107846607A (en) 2018-03-27

Family

ID=61662207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710914973.XA Pending CN107846607A (en) 2017-09-30 2017-09-30 A kind of multi-stream data synchronously stores and back method

Country Status (1)

Country Link
CN (1) CN107846607A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966027A (en) * 2018-08-15 2018-12-07 郑州云海信息技术有限公司 A kind of audio video synchronization back method and device
CN114598910A (en) * 2022-02-23 2022-06-07 中科芯集成电路有限公司 High-precision time synchronization playback control method for multi-channel heterogeneous video

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868939A (en) * 2012-09-10 2013-01-09 杭州电子科技大学 Method for synchronizing audio/video data in real-time video monitoring system
CN106508108B (en) * 2012-06-04 2014-11-12 成都飞机工业(集团)有限责任公司 A kind of video speech data and the synchronous method of flight test system time
CN106341719A (en) * 2016-09-12 2017-01-18 王海 Synchronized audio play method simultaneously using various kinds of play modules of equipment and apparatus thereof
CN106372526A (en) * 2016-08-19 2017-02-01 上海爱数信息技术股份有限公司 File change monitoring and synchronization method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106508108B (en) * 2012-06-04 2014-11-12 成都飞机工业(集团)有限责任公司 A kind of video speech data and the synchronous method of flight test system time
CN102868939A (en) * 2012-09-10 2013-01-09 杭州电子科技大学 Method for synchronizing audio/video data in real-time video monitoring system
CN106372526A (en) * 2016-08-19 2017-02-01 上海爱数信息技术股份有限公司 File change monitoring and synchronization method and system
CN106341719A (en) * 2016-09-12 2017-01-18 王海 Synchronized audio play method simultaneously using various kinds of play modules of equipment and apparatus thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966027A (en) * 2018-08-15 2018-12-07 郑州云海信息技术有限公司 A kind of audio video synchronization back method and device
CN114598910A (en) * 2022-02-23 2022-06-07 中科芯集成电路有限公司 High-precision time synchronization playback control method for multi-channel heterogeneous video
CN114598910B (en) * 2022-02-23 2024-01-19 中科芯集成电路有限公司 High-precision time synchronization playback control method for multipath heterogeneous video

Similar Documents

Publication Publication Date Title
CN101635848B (en) Method and device for editing video file
CN106134146B (en) Handle continuous multicycle content
CN103765914B (en) The network stream transmission of decoded video data
CN104410807B (en) A kind of multi-channel video synchronized playback method and device
US8391455B2 (en) Method and system for live collaborative tagging of audio conferences
CN107223316A (en) System and method for supporting selectivity backtracking data recording
CN107409234A (en) The stream transmission based on file format of DASH forms is utilized based on LCT
CN104270646A (en) Self-adaption transmission method and system based on mobile streaming media
CN106371998A (en) Mobile application testing system and method
CN107231581A (en) Method, system and streaming media playing for video playback control server
CN101843099B (en) Apparatus and method of storing video data
US10178350B2 (en) Providing shortened recordings of online conferences
CN108614853A (en) A kind of multi-data source synchronizing information mixing storage and playback system and method
JPWO2012096372A1 (en) Content playback apparatus, content playback method, distribution system, content playback program, recording medium, and data structure
CN104869467A (en) Information output method and system for media playing, and apparatuses
CN107846607A (en) A kind of multi-stream data synchronously stores and back method
CN109299013A (en) A kind of automatic test approach and device
CN105429984A (en) Media play method, equipment and music teaching system
CN105516090A (en) Media play method, device and music teaching system
CN110113621A (en) Playing method and device, storage medium, the electronic device of media information
CN104270608A (en) Intelligent video player and playing method thereof
CN107135169A (en) A kind of net switching method of video based on SDN switch
WO2022262858A1 (en) Image transmission method, image display and processing device, and image transmission system
CN116457881A (en) Text driven editor for audio and video composition
CN101833977A (en) Court trial video real-time indexing method triggered by specific voice

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: 20180327

RJ01 Rejection of invention patent application after publication