A kind of method and equipment thereof that transmits decoded data fluid to display device
[affiliated technical field]
The present invention relates to a kind of method and equipment thereof, be emitted to the method and the equipment thereof of display device after particularly a kind of video file decoding that will need to play with wireless mode to display device transmission decoded data fluid.
[background technology]
Along with the digital technology development is maked rapid progress, the video entertainment device is also more and more cheap, thereby the trend that becomes the electronic equipment that family generally has is arranged greatly, these video play devices can be play video and the voice data self stored, but the video play device of prior art is owing to need be provided with the large storage capacity hard disk, so volume and weight is all very big, in addition, the setting of devices such as processor, audio/video codec also makes the price of video play device very expensive.
In view of the foregoing, be badly in need of a kind of multimedia document that stores on the market, multimedia document can be carried out sound, video decode and be wirelessly transmitted to the device that video play device is play, it can make above-mentioned video play device not need to be provided with equipment such as hard disk, decoder again, thereby reduce cost, can also make above-mentioned video play device can play more multimedia document and need not take too much own resource.
Radio multimedium alliance (WiMedia) and (MBOA of multi-band OFDM alliance, Multi-Band OFDM Alliance) a kind of Wireless USB technology of utilizing OFDM (OFDM) technology has been proposed, and finally by Agere (Agere Systems), Hewlett-Packard (Hewlett Packard), Intel (Intel), Microsoft (Microsoft), NEC, the Wireless USB that Philips Semiconductors (Philips Semiconductors) and Samsung (Samsung) seven companies form promotes tissue (Wireless USB Promoter Group) in issue on May 12nd, 2005 " Wireless Universal Serial Bus Specification ", it has disclosed the Wireless USB technology of utilizing a kind of wirelessly transmitting data, can be implemented between wireless USB apparatus within three meters of the distances its message transmission rate can reach 480,000,000/second, in ten meters of equipment room distances its message transmission rate can reach 110,000,000/second.
[summary of the invention]
The objective of the invention is to, a kind of new method to display device transmission decoded data fluid is provided, technical problem to be solved is that the multimedia document that it can be required with display device is decoded, and export decoded data flow to display device by wireless mode, making display device need not decoding can play, thereby is suitable for practicality more.
The objective of the invention is to, a kind of equipment of exportable data flow through decoding of new structure is provided, technical problem to be solved is to make it export decoded video data stream to display device by wireless mode, making display device need not decoding can play, thereby is suitable for practicality more.
The objective of the invention is to, a kind of equipment of exportable data flow through decoding newly is provided, technical problem to be solved is to make it not only can be with decoded data flow by the wireless external equipment that exports to of Wireless USB interface interface module, can also export data flow to relevant device by sound, video interface and play demonstration, thereby be suitable for practicality more through decoding.
The object of the invention to solve the technical problems realizes by the following technical solutions.A kind of equipment with the CPU treatment system that proposes according to the present invention transmits the method for data flow to display device, and it may further comprise the steps: A1, CPU treatment system are known video file to be processed according to user instruction; The video decoding unit that A2, CPU treatment system are controlled in this equipment is decoded to the data of this video file, obtains meeting directly data presented stream format of display device; A3, decoded data flow is carried out format conversion, convert the data stream format that meets the Wireless USB form to; A4, the data flow after the format conversion is sent to display device according to Wireless USB communication interface standard packing and by the Wireless USB interface.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
Aforesaid method, above-mentioned steps A1 comprises the steps: that also the video decoding unit that the CPU treatment system is controlled in this equipment transfers the data of video file from memory cell, and the video data that needs in this video file to play is decoded.
Aforesaid method, among the above-mentioned steps A2, CPU treatment system control of video decoding unit is directly transferred the decoded video files of wanting from memory cell.
Aforesaid method, wherein said steps A 2 is to A4, data flow through decoding is to export Wireless USB interface interface module to through data/address bus from the buffer storage of video decoding unit, by this Wireless USB interface interface module to data flow to row format conversion, package sends to display device.
Aforesaid method, wherein said steps A 2 is to A4, data flow through decoding is stored in earlier in the internal memory of memory cell, export Wireless USB interface interface module by CPU treatment system or the control of the dma controller that is connected with bus to through data/address bus again, by this Wireless USB interface interface module to data flow to the row format conversion, package sends to display device.
The object of the invention to solve the technical problems also adopts following technical scheme to realize.The equipment of a kind of exportable data flow through decoding that proposes according to the present invention, it comprises bus, the CPU that is connected with bus respectively, storage element and video decoding unit, it also comprises: Wireless USB interface interface module, be connected with bus, carry out wireless data transmission with external equipment, comprise Wireless USB interface control module that is connected with bus and the Wireless USB that is connected with this Wireless USB interface control module transmitting-receiving interface, wherein, above-mentioned CPU control of video decoding unit is transferred the data in the storage element, and will need the data decode of playing, above-mentioned CPU control exports the storage element storage to through the data flow of decoding or Wireless USB interface interface module wireless transmission is gone out.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
The equipment of aforesaid exportable data flow through decoding, wherein said storage element comprises hard disk and the internal memory that is connected with bus respectively.
The equipment of aforesaid exportable data flow through decoding, it also comprises dma controller, is connected with bus, the data flow through decoding of storing in the control internal memory exports Wireless USB interface interface module to.
The equipment of aforesaid exportable data flow through decoding, wherein said Wireless USB transmitting-receiving interface is made of the RTL8170 cake core.
The equipment of aforesaid exportable data flow through decoding, it also comprises Wireless USB interface interface switch module, is connected with Wireless USB interface interface module, and switches the operating state of this Wireless USB interface interface module.
The aforesaid exportable equipment of data flow through decoding, it also comprises D/A converter and the display device interfaces that is connected with video decoding unit successively, is converted to analog signal and is transferred to display device interfaces by the data flow of D/A converter after with video decode.
The equipment of aforesaid exportable data flow through decoding, it also comprises the audio treatment unit that is connected with bus, be used for voice data is decoded, decode by the voice data that CPU control audio processing unit is transferred in the storage element, and CPU control exports the storage element storage to through the data flow of decoding or Wireless USB interface interface module wireless transmission is gone out.
The aforesaid exportable equipment of data flow through decoding, it also comprises D/A converter and the loudspeaker arrangement interface that is connected with audio treatment unit successively, is converted to analog signal and is transferred to the loudspeaker arrangement interface by the data flow of D/A converter after with audio decoder.
The equipment of aforesaid exportable data flow through decoding, it also comprises the user control unit that is connected with CPU, be used to receive the control information that the user sends, CPU controls the data flow transmission of process decoding to storage element, Wireless USB interface interface module and/or D/A converter according to this control information.
The equipment of aforesaid exportable data flow through decoding, the equipment of wherein said exportable data flow through decoding is to be a multimedia computer, PDA, mobile phone or MP4.
The equipment of aforesaid exportable data flow through decoding, wherein said video decoding unit is provided with buffer storage.
By technique scheme, the present invention has following advantage at least to method and the equipment thereof that display device transmits decoded data fluid:
The present invention can be with the multimedia document decoding that is stored in the equipment hard disk, and with decoded data flow by the wireless display device that exports to of Wireless USB interface interface module, promptly to the display device end provide a kind of need not to decode can play the data flow of output, making the display device end need not video decode can play data flow, thereby make the display device end can store the video file of big data quantity, can not need to be provided with again decoder even and such as the memory cell of hard disk etc.;
Above-mentioned decoded data flow also may be output to display device interfaces, make display device and the demonstration output equipment that is connected with display device interfaces can be respectively or the identical file that displays the play simultaneously, also can export decoded data flow one of to the said equipment, increase service efficiency of the present invention by CPU control.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, below especially exemplified by preferred embodiment, and conjunction with figs., be described in detail as follows.
[description of drawings]
Fig. 1 is that the present invention can be by the structural representation of Wireless USB interface interface module output through the equipment of the data flow of decoding.
Fig. 2 is that the present invention can pass through Wireless USB interface interface module and/or loudspeaker arrangement interface and the display device interfaces output structural representation through the equipment of the data flow of decoding.
[embodiment]
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, a kind ofly transmit method and its concrete structure of equipment, execution mode, feature and the effect thereof of decoded data fluid to what foundation the present invention proposed to display device, describe in detail as after.
Seeing also shown in Figure 1ly, is the structural representation of equipment of the exportable data flow through decoding of the present invention, and it comprises: CPU, carry out the data processing and the Control work of equipment; Storage element is used for store various kinds of data; Video decoding unit carries out decoding processing with video data; Audio treatment unit (APU) carries out decoding processing with voice data; Bus, CPU, storage element, audio treatment unit with above-mentioned, and video decoding unit be connected; Wireless USB interface interface module is connected with bus, carries out wireless data transmission with external equipment, comprises Wireless USB interface control module that is connected with bus and the Wireless USB that is connected with this Wireless USB interface control module transmitting-receiving interface.
Wherein, above-mentioned CPU control audio processing unit and video decoding unit are transferred the data in the storage element, and will need voice data and the video data decoding play respectively, above-mentioned CPU control exports the storage element storage to through sound, the video data stream of decoding or Wireless USB interface interface module wireless transmission is gone out.Above-mentioned storage element comprises hard disk and the internal memory that is connected with bus respectively, and internal memory is used to store the interim data of handling of CPU, and hard disk is used to store various file datas, comprises sound, video data that needs are play.In addition, the equipment of the exportable data flow through decoding of the present invention also can not be provided with audio treatment unit (APU), promptly do not carry out the respective handling of voice data, and only carry out the decoding of video data, and with wireless output of decoded video data stream or storage, and in view of prior art has provided technology with the wireless output of decoded audio data stream, the present invention does not repeat them here.
The equipment of the exportable data flow through decoding of the present invention also comprises D/A converter and the display device interfaces that is connected with video decoding unit successively, and above-mentioned data flow behind video decode is converted to analog signal and is transferred to display device interfaces by D/A converter; The equipment of the exportable data flow through decoding of the present invention also comprises D/A converter and the loudspeaker arrangement interface that is connected with audio treatment unit successively, and above-mentioned data flow behind audio decoder is converted to analog signal and is transferred to the loudspeaker arrangement interface by D/A converter.Above-mentioned display device interfaces can be connected with display device, and the loudspeaker arrangement interface can be connected with loudspeaker arrangement.
Above-mentioned audio treatment unit and video decoding unit will need voice data and the video data decoding play, D/A converter to receive this respectively to be converted into analog signal and to export display device interfaces to and the loudspeaker arrangement interface after data flow of decoding; Wireless USB interface interface module receives wireless transmission after the data flow of decoding.
Above-mentioned data flow transmission through decoding to the method for Wireless USB interface interface module comprises: the data flow through decoding is exported and is stored in the internal memory of storage element from audio treatment unit and video decoding unit, by CPU control the data flow of storing in the internal memory is carried out wireless transmission through bus transfer to Wireless USB interface interface module; Or control by CPU through the data flow of decoding, directly transfer to Wireless USB interface interface module from the buffer storage of audio treatment unit and video decoding unit through bus.In addition, the data flow through decoding also can be stored in the hard disk of storage element.
Store the multimedia document that to play output in the above-mentioned hard disk, Wireless USB interface interface module identification have can carry out the external equipment of wireless data transmission after, communication acknowledgement Wireless USB interface interface end by Wireless USB interface interface module and external equipment can send the data flow through decoding, external equipment need receive this data flow through decoding, obtain by CPU and can carry out sound, the title of the multimedia file of video decode also is sent to external equipment, the user selects file name that need to play and sends the information of selection result to Wireless USB interface interface end by external equipment in above-mentioned file name, CPU accesses corresponding sound according to selection result from hard disk, video file is to internal memory and carry out sound, the work of video decode.
The equipment of the exportable data flow through decoding of the present invention also comprises user control unit, be connected with CPU, receive the control information that the user sends, CPU is wirelessly transmitted to external equipment and/or exports sound, picture output device to by loudspeaker arrangement interface and display device interfaces through the data flow of decoding according to user's control information control, particularly, be that control exports storage element, Wireless USB interface interface module and/or D/A converter through the data flow of decoding to from audio treatment unit and video decoding unit, thus the flow direction of control data stream.In addition, the outbound course that the equipment of the exportable data flow through decoding of the present invention also can flow by the mode specified data of setting priority, recognition of devices for example of the present invention goes out external equipment need be through sound, the video data stream of decoding, then according to priority preset with the wireless external equipment that exports to of data flow, and make decoded data flow only to the output of Wireless USB interface interface module by CPU control, and to loudspeaker arrangement interface and the output of display device interfaces end.
Particularly, in the above-mentioned decode procedure, at first sound to be decoded, video file are transferred in the internal memory by hard disk by CPU control, after by CPU sound to be decoded, video file being carried out sound, video data decomposition again, respectively sound, video data are carried out partial decoding of h, voice data input audio treatment unit is finished audio decoder work then, and video data inputs to video decoding unit and finishes video decode work.
After above-mentioned data flow through decoding inputs to internal memory, export the data flow of storing in the internal memory to Wireless USB interface interface module by CPU control and carry out wireless output.In addition, the equipment of the exportable data flow through decoding of the present invention also can comprise the dma controller that is connected with bus, by dma controller application bus control right, control above-mentioned sound, the video data stream that inputs to internal memory and export Wireless USB interface interface module wireless transmission to by bus through decoding.
Particularly, the present invention also is provided with the Wireless USB interface interface switch module that is connected with Wireless USB interface interface module, is used to switch the operating state of this Wireless USB interface interface module.The equipment of the exportable data flow through decoding of the present invention is to be a multimedia computer, PDA, mobile phone or MP4.In addition, display device interfaces of the present invention can be the DVI interface, and directly is connected with video decoding unit, exports display device to after not needing D/A converter that digital signal is converted to analog signal.
Above-mentioned Wireless USB interface interface module comprises Wireless USB interface control module that is connected with bus and the Wireless USB that is connected with this Wireless USB interface control module transmitting-receiving interface.Wherein, Wireless USB transmitting-receiving interface is made of the RTL8170 cake core that Taiwan Ruiyu Semiconductor Co. Ltd produces.
Because the exportable data owner that equipment and external equipment transmitted of data flow through decoding of the present invention will comprise view data and voice data, and the flow of voice data is much smaller than view data, and therefore, voice data can be ignored to the influence of bandwidth.Resolution with video image is 640 * 480ppi, and the distinguishable live image of human eye was 24 frame/seconds, and color is 32 calculating, then carries out the required message transmission rate of video playback and is:
640×480×32×24=225Mbps
According to above calculating as can be known, when the equipment of the exportable data flow through decoding of the present invention and the message transmission rate of external equipment reach 225Mbps, but the external equipment normal play is through the data flow of decoding, thereby the bandwidth of the 480Mbps that provided less than Wireless USB interface interface module of the required bandwidth of displaying video and audio frequency.Therefore can utilize the audio frequency and the video data stream of Wireless USB technical transmission through decoding, and by external equipment need not sound, video decode can be play, and realizes the function play in real time.
The equipment of above-mentioned exportable data flow through decoding obtains by Wireless USB interface interface module whether the external equipment that can carry out wireless data transmission is arranged, and by transmission of wireless signals confirm this external equipment whether need through the decoding data flow, when confirming that external equipment need be through the data flow of decoding, the CPU of the equipment of exportable data flow through decoding obtains the title or the attribute information of the video data of the broadcast of decoding of storing in the storage element, and this title or attribute information be wirelessly transmitted to external equipment, need to select the video data of broadcast by external equipment, and selection result is wirelessly sent to the equipment of above-mentioned exportable data flow through decoding.
The equipment of band CPU treatment system of the present invention may further comprise the steps to the method that display device transmits data flow:
A1, CPU treatment system are known video file to be processed according to user instruction;
The video decoding unit that A2, CPU treatment system are controlled in this equipment is decoded to the data of this video file, obtains meeting directly data presented stream format of display device;
A3, decoded data flow is carried out format conversion, convert the data stream format that meets the Wireless USB form to;
A4, the data flow after the format conversion is sent to display device according to Wireless USB communication interface standard packing and by the Wireless USB interface.
According to said method, can also comprise the steps: in the steps A 1 that the CPU treatment system transfers the data of this video file from memory cell, and the data of this video file are carried out partial decoding of h.Among the above-mentioned steps A2, CPU treatment system control of video decoding unit can directly be transferred the decoded video files of wanting from memory cell.Above-mentioned steps A 2 is to A4, data flow through decoding can be to export Wireless USB interface interface module to through data/address bus from the buffer storage of video decoding unit, by this Wireless USB interface interface module to data flow to row format conversion, package sends to display device.In addition, above-mentioned steps A 2 is to A4, data flow through decoding also can be stored in the internal memory of storage element earlier, export Wireless USB interface interface module by CPU treatment system or the control of the dma controller that is connected with bus to through data/address bus again, by this Wireless USB interface interface module to data flow to the row format conversion, package sends to display device.