Therefore first task of the present invention solves problem of piracy exactly.For this reason, each audio frequency and video file all must go to carry out encryption through a specific formula.If there is not this specific formula to go to be decrypted program, just that audio frequency that all unauthorized theft get and video file can become is utterly useless.For this reason, the present invention adopts current generally popular any method to carry out this encryption, for example DES (Data Encryption Standard); RSA (Rivest-Shamir-Adlfeman); IDEA (International Data Encryption A1gorithm).
2, about the transmission of digital audio and video media
When an analogue audio frequency and piece of video through after being converted into digital file, it is very huge that the size of its digital file can become.The memory capacity that just needs 20 megabytes (MB) as the avi file in a second.Therefore, go up at private network's (as local area network (LAN)) of a general bandwidth or public network (as the Internet) that to transmit such file will be unusual difficulty, network will soon exceed its capacity.
But a prior art scheme of head it off is to improve network capacity, adopts wired or wireless broadband networks.But broadband networks is generally all very expensive, and it can only temporarily be dealt with problems.When increasing audio frequency and video file transmitted on network, the problem of network overload also will take place.
In order to settle the matter once and for all, must be divided into several file sections to each audio frequency and video file.Because the more whole audio frequency of capacity and the video file of each file section are much smaller, therefore, when these file sections transmit, above-mentioned situation can not appear on general broadband network.Second task that the present invention that Here it is will solve.
The AV file division becomes the size that how much depends on file of file section.For example, if the size of each file section is set at 50MB, then the file that lasts hour of a 600MB will be divided into 12 file sections.
3, about the coding of digital audio and video media
The audio frequency and the piece of video of simulation are one group of continuous audio frequency and vision signal.Therefore, convert digital file to and just need an analog digital converter.Yet digital signal is one group of discontinuous signal, and this group signal writes down those analog signals discontinuously.Sampling is meant the time of being interrupted in the middle of the digital signal, and sampling rate need be up to certain level, people's eyes is looked think that this piece of digital formula audio frequency and video file are smooth continuous.But keep good like this picture quality, it is very big that the size of audio frequency and video file will become.Therefore, if go to reduce the size of this class file without any method, so, entire equipment just needs to be equipped with the network of a great storage device and a high bandwidth.
File size problem hereto, available compress technique solves.The basic conception of compress technique (as MPEG-1 and MPEG-2) is non-essential audio frequency and video information is left out and the image information that does not have between each frame audio frequency and piece of video and the next frame to change is saved, thereby can reach the effect that reduces capacity, therefore, one section analogue audio frequency and piece of video being converted to this coded program of digital file will relate to the conversion of analog digital form and compress this two steps.Audio frequency and piece of video with one section film are example, the program of this coding just needs become the digital file of AVI to the format conversion of audio frequency and piece of video, then again through the compressed audio of an appointment and video file standard technique (as MPEG-1) this File Compress.By some software, can convert an avi file to the MPEG-1 file as Adaptec Premiere.
In addition, now some audio frequency and piece of video when producing just its format digital change.Therefore, this class audio frequency and piece of video just need not to carry out the conversion program that analog format is converted into digital form.But for the form of all audio frequency and video file in the unified entire equipment, such audio frequency and piece of video may also need be carried out the conversion of form.As the MPEG-2 format conversion is the MPEG-1 form.
Again in conjunction with the protection and the transmission technology of above-mentioned digital audio and video media, whole coded program will become file section (S2) as data inputs (S0 and S5), file format conversion (S1), the AV file division described in Fig. 1, and encrypt (S3) this several steps.Through these steps, digital audio and video file can reach fast on any network safely and transmit.This is the 3rd task that the present invention will solve.
4, about the storage and the extraction of digital audio and video media
The storage of digital audio and video media file and the efficient of reading are very important for the management of whole audio frequency and video media treatment facility.If the storage of file is very in disorder, will make the overall performance degradation of equipment so.In addition, if there is too much file storage the same time on equipment and when reading, thereby will make the overweight generation of the load data bottleneck problem of network.The dam of traditional file in storage device as shown in Figure 2 will make the load of network overweight.Because the input and the output speed of storage device are limited, and media file size is very huge, therefore, and when storage device need be handled reading and store when request of a plurality of media files at one time, the input of storage device and the load of output speed will become overweight, or the bottleneck situation occurs.In order to prevent these problems, the present invention is using a queue processor to come traffic on the supervising the network on the storage device.
Queue processor is at the enterprising line operate in local area media distribution center.Queue processor utilizes an index file to arrange the order of request.When proposing a request, this request will be stored in a last position of this index file.When queue processor handled these requests, it can read a request from a top position of this index file, then handles this request.When this request disposes, the said request of this position up front will be deleted by queue processor in this index file.
As shown in Figure 3, pass to queue processor 309 all for each media file storage, the request 301-306 that reads and transmit and handle, the precedence that queue processor 309 handles for them be " to serve " pattern first earlier.
When a media file need be stored, this request will be sent in the queue processor and rank.When handling this request, queue processor can deliver to the media library manager to request.There, the media library manager can be decrypted new media data file earlier.On equipment, create a unique index based on the media information of having deciphered then, these file sections are deposited on the storage device according to this unique index.
And when receiving one in the queue processor when reading the medium request, its can be placed into this request in the queue processor.And require when processed when this, queue processor can be transferred to the media library manager to the unique index in the request.And according to this unique index, the media library manager can read out the All Files section that belongs to these medium from the ad-hoc location of storage device.Meanwhile, the media library manager can be filed a request to queue processor these file sections are sent to the requestor.
5, the request of digital audio and video media, decoding, and play
For a conveniently read mode is provided, on player, can list a menu, go to select to want the audio frequency and the piece of video of watching for the user.This measure makes the easier use of equipment, and the user also need not to keep firmly in mind complex apparatus instruction, as access instruction, document location, and title etc.
As shown in Figure 4, after a user had selected one of them audio frequency and piece of video, his this request was sent to server.The All Files section (because audio frequency and video file have been cut apart when encoding) that server is sent audio frequency and piece of video back to according to this request is given the requestor, player reconfigures these file sections earlier, then complete audio frequency and piece of video are delivered to the digital simulation transducer and decipher, and then be sent on the display.
In addition, there is direct influence audio frequency and the piece of video required time of decoding to the audio frequency of its projection and the quality of piece of video.So decipher the required time also is an extremely important ring.Generally speaking, if this program is handled with software, in prior art, do, the possibility of result is unsatisfactory, because when the central processing unit on this player (CPU) is wanted on the treatment facility other request items too busily, can make this translator have little time timely decoding, thereby make audio frequency and piece of video in the broadcast temporary transient the pause occur.Therefore, have only firmware (Firmware) decoder just can avoid this situation, guarantee the quality in audio frequency and the piece of video.This is the 5th problem that the present invention will solve.
Said firmware decoder is an accessory in the controlling media play device.It can be a computer card that is inserted in the computer, or the hardware box of an external.Said this firmware decoder comprises the decoding processor of a graphic process unit and MPEG-1 or MPEG-2 form.Because this firmware decoder has the ability of independently handling the AV medium, so it takies the time of central processing unit hardly when handling the decoding of AV medium.Thereby the quality of the decoding of firmware decoder processing AV medium outclass the processing quality of software and central processing unit.
In sum, first purpose of the present invention provides a kind of digital audio and video media treatment facility, problem such as it can solve problem of piracy of the prior art, network overload problem, capacity problem, load is overweight and decoding time is long.
Second purpose of the present invention provides a kind of digital audio and video media processing method, the same with first purpose of the present invention, problem such as it can solve problem of piracy of the prior art, network overload problem, memory capacity problem, load is overweight and decoding time is long.
For realizing first above-mentioned purpose, according to the present invention, provide a kind of digital audio and video media treatment facility, it comprises:
A regional media distribution center fixture, be used for that the AV media file is carried out digitlization and cut apart encryption, digital media file of dividing processing being crossed by the super bus of data message and media information file allocation are given each local area media distribution service device in the whole zone;
A plurality of local area media distribution service devices, each local area media distribution service device all is attached to regional media distribution center fixture by the super bus of data message, new said media file section is obtained in reception, and store these file sections, local area media distribution service device also is connected to each the basic controlling media play device that belongs to this server by the wired or wireless net in this locality, receive the request of each said basic controlling media play device, handle the transmission of medium, and the management local device to the storage of media data, read and on network, transmit the workload of file;
A plurality of basic controlling media play devices, each basic controlling media play device all links to each other with local area media distribution service device by local wired or wireless network, is used for user's request is sent to local area media distribution service device; And be used for said media file section reception, obtain, decipher, make up, decipher, and play.
Preferably, the super bus of said data message is wideband the Internet or wideband wireless telecommunications net.
In addition, the processing of carrying out in the media distribution center fixture of zone comprises: media information is carried out index process and encryption, media file is carried out digitlization, index, the section of being divided into and encryption, and by the super bus of data message encrypted, segmentation, and meet the digital media file of call format and the encrypted media message file distribute to each local area media distribution service device in the whole zone.
And then said encryption is to be undertaken by a specific algorithm.
Equally preferably also have, said local area media distribution service device by queue processing management local device to the storage of media data, read and on network, transmit the workload of file.
Have, said queue processor is according to first service manner work first again.
Also have at last, said basic controlling media play device utilizes the firmware decoder that said file is deciphered.
For realizing second above-mentioned purpose, according to the present invention, provide a kind of digital audio and video media processing method, it comprises the steps:
Set up a regional media distribution center fixture, be used for that the AV media file is carried out digitlization and cut apart encryption, by the super bus of data message cut apart and the digital media file of encryption and the encrypted media message file distribute to each local area media distribution service device in the whole zone;
A plurality of local area media distribution service devices are set, each local area media distribution service device all is attached to regional media distribution center fixture by the super bus of data message, new said media file section is obtained in reception, and store these file sections, local area media distribution service device also is connected to each the basic controlling media play device that belongs to this server by the wired or wireless net in this locality, receive the request of each said basic controlling media play device, handle the transmission of medium, and the management local device is to the storage of media data, read and on network, transmit the workload of file;
A plurality of basic controlling media play devices are set, and each basic controlling media play device all links to each other with local area media distribution service device by local wired or wireless network, is used for user's request is sent to local area media distribution service device; And be used for said media file section reception, obtain, decipher, make up, decipher, and play.
Preferably, the super bus of said data message is wideband the Internet or wideband wireless communication networks.
In addition, the processing of carrying out in the media distribution center fixture of zone comprises: media information is carried out index process and encryption, media file is carried out digitlization, index, the section of being divided into and encryption, and by the super bus of data message encrypted, segmentation, and meet the digital media file of call format and the encrypted media message file distribute to each local area media distribution service device in the whole zone.
And then said encryption is to be undertaken by a specific algorithm.
Equally preferably also have, said local area media distribution service device by queue processing management local device to the storage of media data, read and on network, transmit the workload of file.
Have, said queue processor is according to first service manner work first again.
Also have at last, said basic controlling media play device utilizes the firmware decoder that said file is deciphered.
With reference to the accompanying drawings, describe a preferred embodiment of the present invention, thereby can more deep understanding be arranged above-described formation of the present invention, feature and advantage, wherein:
In comment to prior art, Fig. 1-4 has been made brief description, no longer repeat here.5-7 describes the preferred embodiment of a digital audio of the present invention and video media treatment facility with reference to the accompanying drawings.
At first, as shown in Figure 5, in this example, digital audio and video media treatment facility 500 are divided into three different parts:
1, regional media distribution center fixture 502:
Media distribution center, zone 502 is responsible for changing the form of analogue AV medium 501 and distributing to each local area media distribution service device 601-605;
2, a plurality of local area media distribution service device 601-605:
Each local area media distribution service device 601-605 passes through broadband networks 503 and links to each other with regional media distribution center fixture 502, and its responsibility is the management local device to the storage of media data, reads and transmit the workload of file on network.
3, a plurality of basic controlling media play device 701-720
Each the basic controlling media play device 701-720 local wired or wireless net 735-739 by separately links to each other with the local area media distribution service device 601-605 that is administered, thereby can send user's request to local area media distribution service device 601-605; Each the basic controlling media play device 701-720 also local wired or wireless net 735-739 by separately receives, obtains, deciphers, makes up, deciphers, and plays the media file section.
In addition, regional media distribution center fixture 502 is distributed to media file 501 each local area media distribution service device 601-605 in whole zone by the super bus of data message, as wideband the Internet or wideband wireless communication networks 503.
Fig. 6 illustrates the network connections relation of each local area media distribution service device.For example, a local area media distribution service device 600 is attached to regional media distribution center fixture 502, obtains new media file section thereby receive, and stores these file sections.In addition, local area media distribution service device 600 also will be connected to the basic controlling media play device 721-727 in the server compass of competency, handles the request of basic controlling media play device 721-727, and handles the transmission of medium.
Fig. 7 represents the workflow by digital audio of the present invention and video media processing method, and the queue processor of expression on the server is the workload of how control figure formula audio frequency and video media treatment facility.
Need divide timing as a new audio frequency and piece of video, this audio frequency and piece of video will be sent to regional media distribution center fixture 502.Before these medium are prepared to distribute, just must be through following program.At first, if this new audio frequency and piece of video are the medium of an analog format, for example laser-optical disk, videotape etc. so, just it must start and import this AV sheet (S102), are transformed into the file (S104) of a digital form.Again, if this new audio frequency and piece of video be a number format file (as VCD, DVD, etc.), but its form is not the form for appointment, will start the program (S103) that this AV sheet carries out a format conversion so.Then, produce first index (S105) of this file and this digitized media file is divided into a plurality of file sections (S107).Then, import data (S101), thereby produce media data file second index (S106) about media file.Down be exactly this data file to be carried out encryption (S108) together with the media file section of having cut apart through specific formula.At last, these " files " are delivered on the webserver 557 for each local area media distribution service device 601-605 download.
When a local area media distribution service device 601-605 obtains the encrypted media file section and behind the encrypted media message file, server 601-605 can propose a storage request (S201) in its queue processor from regional media distribution center fixture 502 through wideband the Internet 503.When queue processor handled this request, it can give media library manager (S202) these file transfers.Then, this media library manager just can be media information file decryption (but the media file section still can remain on encrypted state), and based on the data on the media information file, create a unique file index, subsequently, the media library manager just stores the media file section in the storage device (S203) according to this index.
When local area media distribution service device 601-605 receive basic controlling media play device 701-720 in its network read the medium request time (S301), server can propose one in its queue processor read request (S201).Queue processor goes to handle these requests sequentially.When that request of reading was processed, queue processor can pass to media library manager (S202) to request.And the media library manager can be found out its unique file index according to the data of request.Then, storage device just can be read (S203) to all relevant media file sections in the certain location of storage device based on this index.Then manager can propose a transmission request (S204) to queue processor.When queue processor transmits this request of processing, will be transferred to the request person of sending (S205) to the All Files section of request.
When sending the basic controlling media play that reads and receive all audio frequency and video file section, it can these file sections deciphering (S302) of first behavior.Then, the order by each file section is merged into a single audio frequency and video file (S303) to them.Then, giving playing device this file goes to decipher and play.
Because equipment of the present invention and method adopt the encryption and decryption technology, so can prevent pirate generation effectively.Because equipment of the present invention and method have adopted the AV file splitting method, adopt the hardware-compressed coding techniques simultaneously, especially owing to adopt the first come, first serve mode of operation storage of queue processor and extract the AV file, problem all is readily solved to make network overload problem, capacity problem, load is overweight and decoding time is long etc.Therefore, effect of the present invention is conspicuous.
More than be that the illustrative of digital audio of the present invention and video media treatment facility and method thereof is described.And accompanying drawing also explains that for convenient the present invention sets up, and only uses for referencial use.Within the scope of the invention, the common technique personnel of this area can carry out suitable modification to this design.