Summary of the invention
The invention provides a kind of video file across a network sending method and device, with safety, the across a network transmission realizing video file efficiently and accurately.
The present invention also provides a kind of video file across a network method of reseptance and device on the other hand, with safety, the across a network transmission realizing video file efficiently and accurately.
The present invention also provides a kind of video file across a network transmission system on the other hand, with safety, the across a network transmission realizing video file efficiently and accurately.
For this reason, the invention provides following technical scheme:
The embodiment of the present invention provides a kind of video file across a network sending method, comprising:
Extract the meta data file and video file that need to send;
Resolve described meta data file and obtain metadata information, send described metadata information by USB or serial 422 passage;
Decoding is carried out to described video file and obtains vision signal, send described vision signal by SDI passage.
Preferably, described meta data file is XML format file; Described metadata information comprises: the check code broadcasting channel, programm name, program ID, broadcast time, program duration etc. and video file.
The embodiment of the present invention also provides a kind of video file across a network method of reseptance, comprising:
By USB or serial 422 channel reception metadata information;
According to described metadata information generator data file;
Trigger by SDI channel reception vision signal, and to described Video signal encoding generating video file;
Described video file is verified, generates check code;
Check code in the check code of generation and described metadata information is compared;
If two check codes are consistent, then store described meta data file and described video file.
Preferably, described metadata information comprises: the check code broadcasting channel, programm name, program ID, broadcast time, program duration etc. and video file; Described meta data file is XML format file.
Preferably, described method also comprises:
Before the described meta data file of storage and described video file, described video file is detected, if meet pre-provisioning request, then perform the step storing described meta data file and described video file.
Preferably, describedly detection carried out to described video file comprise:
Black field in described video file content, color field, colour bar, quiet frame are detected;
The form of described video file, grammer, document structure information are detected.
The embodiment of the present invention also provides a kind of video file across a network dispensing device, comprising:
File extraction module, for extracting the meta data file and video file that need to send;
Parsing module, obtains metadata information for resolving described meta data file;
Decoder module, obtains vision signal for carrying out decoding to described video file;
Metadata information sending module, for sending described metadata information by USB or serial 422 passage;
Vision signal sending module, for sending described vision signal by SDI passage.
Preferably, described meta data file is XML format file; Described metadata information comprises: the check code broadcasting channel, programm name, program ID, broadcast time, program duration etc. and video file.
The embodiment of the present invention also provides a kind of video file across a network receiving system, comprising:
Metadata information receiver module, for passing through USB or serial 422 channel reception metadata information;
Meta data file generation module, for according to described metadata information generator data file;
Video reception module, for triggering by SDI channel reception vision signal;
Coding module, for described Video signal encoding generating video file;
Correction verification module, for verifying described video file, generates check code;
Comparing module, for comparing the check code in the check code of generation and described metadata information;
Memory module, at the comparison result of described comparing module be two check codes consistent time, store described meta data file and described video file.
Preferably, described metadata information comprises: the check code broadcasting channel, programm name, program ID, broadcast time, program duration etc. and video file; Described meta data file is XML format file.
Preferably, described device also comprises:
Detection module, before storing described meta data file and described video file in described memory module, detects described video file, if meet pre-provisioning request, then logical described memory module stores described meta data file and described video file.
Preferably, described detection module, specifically for detecting the black field in described video file content, color field, colour bar, quiet frame, and detects the form of described video file, grammer, document structure information.
The embodiment of the present invention also provides a kind of video file across a network transmission system, comprise the transmission server and reception server that are positioned at different sub-network, described transmission server comprises foregoing video file across a network dispensing device, and described reception server comprises foregoing video file across a network receiving system.
The video file across a network transmission method that the embodiment of the present invention provides, Apparatus and system, by USB(Universal Serial BUS, USB) or the electrical characteristic of serial 422(balanced voltage digital interface circuit) passage and SDI(serial digital interface, digital serial interface) passage transmits metadata information and vision signal respectively, achieve the transmission of video file across a network, prevent the viral automatic spread based on IP network and infected file via after IP network or USB or serial 422 channel transfer, the virus receiving network is extended influence, make video file across a network transmission security, and in time, effectively, accurately.
Embodiment
In order to the scheme making those skilled in the art person understand the embodiment of the present invention better, below in conjunction with drawings and embodiments, the embodiment of the present invention is described in further detail.
The demand of fail safe is transmitted for radio and television video file, the embodiment of the present invention transmits metadata information and vision signal respectively by USB or serial 422 passage and SDI passage, achieve the transmission of video file across a network, prevent the viral automatic spread based on IP network and infected file via after IP network or USB or serial 422 channel transfer, the virus receiving network is extended influence, make video file across a network transmission security, and in time, effectively, accurately.
As shown in Figure 1, be the flow chart of embodiment of the present invention video file across a network sending method, comprise the following steps:
Step 101, extracts the meta data file and video file that need to send.
Described meta data file is associated with video file, and file one to one, for describing the index information of video file, as the check code etc. of video content types, sending destination, reception standard, recipient's authority, comment content, remark information, broadcast channel, programm name, program ID, broadcast time, program duration etc. and video file.In embody rule, described meta data file can be the file of XML format.
Described check code can be MD5(Message Digest Algorithm MD5) check code can certainly be the check code of other types.
Described video file refers to the data file of video content according to the video and audio content formed after compression algorithm compression.
It should be noted that, above-mentioned meta data file and video file can be stored in Sender side Storage system.
Step 102, resolves described meta data file and obtains metadata information, sends described metadata information by USB or serial 422 passage.
For the meta data file of XML format, key-value mode can be adopted to resolve, after namely obtaining field name, obtain data value according to field name.
The maximum transmission distance of serial 422 passage is 4000 feet (about 1219 meters), and peak transfer rate is 10Mb/s.
Step 103, carries out decoding to described video file and obtains vision signal, send described vision signal by SDI passage.
Described video file is decoded and mainly obtains the coded format of described video file, and the information such as broadcasting of whether can decoding.
In embodiments of the present invention, utilize SDI passage, each bit of video data word and corresponding data are passed through the transmission of single channel order.Because the data transfer rate of serial digital signal is very high, have to pass through process before transmission.By speed: single-definition SD-SDI, high definition standard HD-SDI and 3G-SDI, corresponding speed is 270Mb/s, 1.485Gb/s and 2.97Gb/s respectively.
As can be seen here, the method of the embodiment of the present invention is from the Secure isolation truly reached when intranet and extranet connect, realize the trans-departmental demand across different brackets network (subnet of such as handling official business, non-volume subnet, broadcast subnet etc.), achieve the transmission of video file across a network, prevent the viral automatic spread based on IP network and infected file via after IP network or USB or serial 422 channel transfer, the virus receiving network is extended influence, make video file across a network transmission security, and in time, effectively, accurately.
Correspondingly, the embodiment of the present invention also provides a kind of video file across a network method of reseptance, as shown in Figure 2, is the flow chart of the method, comprises the following steps:
Step 201, by USB or serial 422 channel reception metadata information.
Step 202, according to described metadata information generator data file.
Described metadata information comprises: the check code etc. broadcasting channel, programm name, program ID, broadcast time, program duration etc. and video file.Described meta data file can be XML format file.
Step 203, triggers by SDI channel reception vision signal, and to described Video signal encoding generating video file.
Step 204, verifies described video file, generates check code.
Described check code can be MD5 check code.
Step 205, compares the check code in the check code of generation and described metadata information.
Step 206, if two check codes are consistent, then stores described meta data file and described video file.
By by the check code in meta data file and the comparison described video file being carried out to the check code that verify calculation obtains, can prevent file disturbed, destroy or distort.
In a particular application, before the described meta data file of storage and described video file, quality testing can also be carried out further to vision signal, such as to material Hei Chang, quiet frame, quiet etc. to detect, namely quality testing is carried out to the video data of the video file content received and voice data, wherein, described video data detects and comprises: to the detection of the black field in file content, color field, colour bar, quiet frame, and detect video file format, grammer, document structure information etc.Such as: video encoding form (H.264, Mpeg2 etc.), packing form (PS, TS etc.), code check (8mbps, 15Mbps etc.), the ratio of width to height (SD 4:3, high definition 16:9 etc.), GOP length (usual 33 frame data), audio sample rate, the infomation detection such as bit rate, to ensure to meet code requirement, find error message in advance.These detect specifically can compare and realize by extracting characteristic value in video file and defined feature value and compare or extract descriptor and pre-defined descriptor in video file packet header.
Certainly, find that described video file does not meet code requirement if detected, then can not store it.
Utilize the method for the embodiment of the present invention, the viral automatic spread based on IP network and infected file not only can be prevented via after IP network or USB or serial 422 channel transfer, the virus receiving network is extended influence, ensures that video file is safe between different sub-network, reliably transmit.Further, detected by the content of video file that generates the Video signal encoding received and form, ensure that the quality of video file.
Correspondingly, the embodiment of the present invention also provides a kind of video file across a network dispensing device, as shown in Figure 3, is a kind of structural representation of this device.
In this embodiment, described device comprises:
File extraction module 301, for extracting the meta data file and video file that need to send;
Parsing module 302, obtains metadata information for resolving described meta data file;
Decoder module 303, obtains vision signal for carrying out decoding to described video file;
Metadata information sending module 304, for sending described metadata information by USB or serial 422 passage;
Vision signal sending module 305, for sending described vision signal by SDI passage.
Above-mentioned meta data file is XML format file; Described metadata information comprises: the check code broadcasting channel, programm name, program ID, broadcast time, program duration etc. and video file.
Utilize the device of the embodiment of the present invention, the viral automatic spread based on IP network and infected file effectively can be prevented via after IP network or USB or serial 422 channel transfer, the virus receiving network is extended influence, ensures the fail safe of video file across a network transmission.
Correspondingly, the embodiment of the present invention also provides a kind of video file across a network receiving system, as shown in Figure 4, is a kind of structural representation of this device.
In this embodiment, described device comprises:
Metadata information receiver module 401, for passing through USB or serial 422 channel reception metadata information;
Meta data file generation module 402, for according to described metadata information generator data file;
Video reception module 403, for triggering by SDI channel reception vision signal;
Coding module 404, for described Video signal encoding generating video file;
Correction verification module 405, for verifying described video file, generates check code;
Comparing module 406, for comparing the check code in the check code of generation and described metadata information;
Memory module 407, at the comparison result of described comparing module be two check codes consistent time, store described meta data file and described video file.
Above-mentioned metadata information comprises: the check code broadcasting channel, programm name, program ID, broadcast time, program duration etc. and video file; Described meta data file is XML format file.
In order to ensure the quality of video file further, also comprise in another embodiment of described video file across a network receiving system:
Detection module, before storing described meta data file and described video file in described memory module, detects described video file, if meet pre-provisioning request, then logical described memory module stores described meta data file and described video file.
Above-mentioned detection module specifically can detect the black field in described video file content, color field, colour bar, quiet frame, and detects the form of described video file, grammer, document structure information.Detailed process can refer to the description in the inventive method embodiment above, does not repeat them here.
Utilize the device of the embodiment of the present invention, the viral automatic spread based on IP network and infected file not only can be prevented via after IP network or USB or serial 422 channel transfer, the virus receiving network is extended influence, ensures that video file is safe between different sub-network, reliably transmit.Further, detected by the content of video file that generates the Video signal encoding received and form, ensure that the quality of video file.
Correspondingly, the embodiment of the present invention also provides a kind of video file across a network transmission system, as shown in Figure 5, is a kind of networking schematic diagram of this system.
Described system comprises: the transmission server 51 and the reception server 52 that are positioned at different sub-network.Wherein:
Described transmission server 51 comprises foregoing video file across a network dispensing device, it extracts the meta data file and video file that need to send from Sender side Storage system by IP transmission channel, and sends metadata information to reception server 52 by USB or serial 422 passage; Vision signal is sent to reception server 52 by SDI passage.
Correspondingly, described reception server 52 comprises foregoing video file across a network receiving system, it is by USB or serial 422 channel reception metadata information, by SDI channel reception vision signal, and described video file is verified, generate check code, and when the check code generated is consistent with the check code in described metadata information, by IP transmission channel, meta data file and video file are stored in receiving terminal storage system.
Utilize the system of the embodiment of the present invention, can from the Secure isolation truly reached when intranet and extranet connect, realize the trans-departmental demand across different brackets network (subnet of such as handling official business, non-volume subnet, broadcast subnet etc.), achieve the transmission of video file across a network, prevent the viral automatic spread based on IP network and infected file via after IP network or USB or serial 422 channel transfer, the virus receiving network is extended influence, make video file across a network transmission security, and in time, effectively, accurately.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for Apparatus and system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.System embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Being described in detail the embodiment of the present invention above, applying embodiment herein to invention has been elaboration, the explanation of above embodiment just understands method and apparatus of the present invention for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.